Skip to content

Instantly share code, notes, and snippets.

@f9n
Created May 18, 2017 11: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 f9n/a1c7bbb222353b1f310b727d05b16106 to your computer and use it in GitHub Desktop.
Save f9n/a1c7bbb222353b1f310b727d05b16106 to your computer and use it in GitHub Desktop.
Nodejs deploy heroku
$ 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