Heroku - AADevTeam/docs GitHub Wiki
Heroku is used to deploy the product for development and testing purposes.
Initial setup
- Login to Heroku and add SSH pubkey in the Accounts page.
- Download and install heroku toolbelt from
- In the terminal, type
heroku login - Enter your credentials
Setting up an existing application
- From the terminal, go to the repo the application
git remote add heroku <heroku git url of the app>- Example: For AssemblyPrep, it's
git remote add heroku [email protected]:assemprep.git - To deploy, run
git push heroku master
Setting up a new application
- From the terminal, go to the repo of the application
heroku create <optional appname>git push heroku master
Tips
- To push a non-master branch (say,
dev) to heroku, usegit push heroku dev:master