Generates a repo from a specified template and data.