Last active
February 27, 2019 19:00
-
-
Save ouadie-lahdioui/6203520b67f9566713e605557a23a512 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Deploy | |
heroku buildpacks | |
heroku buildpacks:clear | |
heroku buildpacks:set -a cognito-jackpot-web-app heroku/nodejs | |
heroku buildpacks:set -a cognito-jackpot-web-app https://github.com/Pagedraw/heroku-buildpack-select-subdir | |
heroku config:add BUILDPACK='packages/web-app=https://github.com/heroku/heroku-buildpack-nodejs' -a cognito-jackpot-web-app | |
heroku git:remote -a cognito-jackpot-web-app | |
git push heroku master | |
# Commands | |
heroku open | |
heroku ps : see the new process type running | |
heroku logs | |
heroku logs --tail | |
heroku restart -a cognito-jackpot-web-app | |
heroku local web : start the application locally | |
heroku run bash : run the bash command to open a shell on the server | |
heroku config:set TIMES=2 : Define config vars | |
heroku config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment