Skip to content

Instantly share code, notes, and snippets.

@khalilovcmd
Last active December 9, 2015 11:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save khalilovcmd/55f0abf94cded6cb78c9 to your computer and use it in GitHub Desktop.
Save khalilovcmd/55f0abf94cded6cb78c9 to your computer and use it in GitHub Desktop.
installing heroku, and getting started
# download heroku
wget -O- https://toolbelt.heroku.com/install-ubuntu.sh | sh
# login to heroku
heroku login
# create heroku-git link (adding a heroku remote)
heroku create
# pushing a commit to heroku
git push heroku master
# one instance is running for heroku
heroku ps:scale web=1
# open your heroku app
heroku open
# (optional) view logs
heroku logs --tail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment