#9. Some useful heroku commands
Heroku commands
sudo snap install --classic herokuheroku login
heroku create
git config --list --local | grep heroku
git push heroku main
heroku run rake db:migrate
heroku apps:rename kamb2017
heroku ps:scale web=1
heroku ps
heroku open
heroku logs
heroku logs --tail
heroku run rails console
heroku config - view
heroku config:set MY_PASS=secret - set
heroku config:get MY_PASS - view
heroku config:unset MY_PASS - remove
heroku config -a rk-rails-app - list all environment variables
heroku apps - list all the heroku apps
heroku config -a rk-rails-app --json - list all environment variables in json format
heroku run -a rk-rails-app printenv - print environment variables
Comments
Post a Comment
Let me know for any query..