-
-
Save scq000/785df492f28a5c0e2b5f37391fc57204 to your computer and use it in GitHub Desktop.
Heroku 使用 部署 node应用
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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