Created
May 18, 2017 11:56
-
-
Save f9n/a1c7bbb222353b1f310b727d05b16106 to your computer and use it in GitHub Desktop.
Nodejs deploy heroku
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 login | |
$ heroku create <appname> --stack cedar --region us --buildpack https://github.com/AdmitHub/meteor-buildpack-horse.git | |
$ heroku config:set MONGO_URL=mongodb://<username>:<password>@ds027308.mongolab.com:27308/<dbname> | |
$ heroku config:set ROOT_URL=<appname>.herokuapp.com | |
$ heroku git:remote -a <appname> | |
$ git push heroku master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment