Heroku - AADevTeam/docs GitHub Wiki

Heroku is used to deploy the product for development and testing purposes.

Initial setup

  1. Login to Heroku and add SSH pubkey in the Accounts page.
  2. Download and install heroku toolbelt from
  3. In the terminal, type heroku login
  4. Enter your credentials

Setting up an existing application

  1. From the terminal, go to the repo the application
  2. git remote add heroku <heroku git url of the app>
  3. Example: For AssemblyPrep, it's git remote add heroku [email protected]:assemprep.git
  4. To deploy, run git push heroku master

Setting up a new application

  1. From the terminal, go to the repo of the application
  2. heroku create <optional appname>
  3. git push heroku master

Tips

  1. To push a non-master branch (say, dev) to heroku, use git push heroku dev:master