Skip to content

Instantly share code, notes, and snippets.

@khalilovcmd
Last active December 9, 2015 11:12
Show Gist options
  • Select an option

  • Save khalilovcmd/55f0abf94cded6cb78c9 to your computer and use it in GitHub Desktop.

Select an option

Save khalilovcmd/55f0abf94cded6cb78c9 to your computer and use it in GitHub Desktop.

Revisions

  1. khalilovcmd renamed this gist Dec 9, 2015. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. khalilovcmd created this gist Dec 9, 2015.
    20 changes: 20 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    # 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