Configure Heroku apps based on a template