Skip to content

Development workflow with Heroku CLI

Mandi Haase edited this page May 28, 2020 · 2 revisions

Creating Heroku Production (only needs to be done once)

video tutorial: Heroku setup tutorial Labs 23

  1. Download Heroku CLI
  2. Make sure you are logged into Heroku
  3. heroku apps:create appname --remote heroku
  4. Change the remote to "production"

Creating Heroku staging app (repeat this process every time a feature is complete and ready for staging)

  1. Download Heroku CLI
  2. Make sure you are logged into Heroku
  3. Create a Heroku app with command: heroku apps:create appname --remote heroku
  4. Change the remote to "staging"
  5. Make a change in the code
  6. Push your change to staging with command: git push staging GitHub-branch:master

Allay for production

Click "Personal" drop drop menu, then "lambda-school". Next select the staging app listed for allay-fe (labs-21-allay-fe). For the back end staging, select "allay-staging-be" listed when you log into Heroku for your labs team.

Video on Heroku workflow: Labs heroku workflow