Skip to content

Instantly share code, notes, and snippets.

@kamiyaowl
Last active August 29, 2015 13:56
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 kamiyaowl/9032461 to your computer and use it in GitHub Desktop.
Save kamiyaowl/9032461 to your computer and use it in GitHub Desktop.
herokuにdeploy
$git init
$git add .
$git commit -am 'Initial Commit'
#ここからへろく
$heroku create
$git push heroku master
#うまく行けばデプロイ終了。自分はProcfileでつまずいた
$heroku os:scale web=1
#procfileに書いてあったWebを実行するらしい?しっかり調べてない。とりあえずnodeが起動するのでこれにて終了
##ちなみにheroku createで意味不明なアプリ名なのを変えたいときは
$heroku rename NewName
web: node server.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment