- Sign-up to a free plan at heroku (https://www.heroku.com)
- Install the
heroku
CLI. If you're on a macOS:
brew install heroku/brew/heroku
- Authenticate to Heroku and follow the instructions with the following command:
heroku login
- Change directories to the goof/ app repository you cloned/forked
- Create a heroku app:
heroku create
-
You'll have to update a Credit Card number at https://heroku.com/verify in order to enable the MongoDB addon next.
-
Add the MongoDB addon:
heroku addons:create mongolab:sandbox
- Push the Goof app to be deployed on the heroku platform
git push heroku master
- If you need to inspect the logs
heroku logs --tail
- If you need to manually restart the deployed app:
heroku ps:scale web=1