Skip to content

Latest commit

 

History

History
45 lines (27 loc) · 863 Bytes

Heroku.md

File metadata and controls

45 lines (27 loc) · 863 Bytes

Setting Up Heroku

Access to the Heroku account is required to deploy to either the production or staging app.

Installing the cli

curl https://cli-assets.heroku.com/install.sh | sh

Log In

Get the Heroku account credentials, then run

heroku auth:login

You'll be prompted for email and password

Setting up the git remotes

Deploying to Heroku requires pushing to a git remote repository. A git remote needs to be setup for each app (staging and production).

Setup staging:

git remote add staging https://git.heroku.com/osumbchallengesdev.git

Setup production:

git remote add production https://git.heroku.com/osumbchallenges.git

Some useful command

Run a bash shell in a web dyno:

heroku run bash --remote staging/prod

Tail application logs:

heroku logs --tail --remote stagins/prod