Skip to content

Instantly share code, notes, and snippets.

@scq000
Forked from dprabu17/heroku
Last active May 18, 2017 07:58
Show Gist options
  • Save scq000/785df492f28a5c0e2b5f37391fc57204 to your computer and use it in GitHub Desktop.
Save scq000/785df492f28a5c0e2b5f37391fc57204 to your computer and use it in GitHub Desktop.
Heroku 使用 部署 node应用
Heroku
install
https://toolbelt.heroku.com/
heroku login
#cd project folder
heroku create
#heroku run rake assets:clean
#heroku run rake assets:precompile
git push heroku master
git push heroku branch:master
heroku apps:rename rails3-deployments
$ git remote -v
http://rails3-deployments.herokuapp.com/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment