Deploy Meteor Apps to Heroku

November 09, 2017 tutorials Tutorials

Quick reminder on how to deploy Meteor Apps to Heroku

Create heroku app

heroku create appName

Add the buildpack

heroku buildpacks:set https://github.com/AdmitHub/meteor-buildpack-horse.git

Set the Node version in package-json

"engines": {
"node":"meteorNodeVersion"
}

Add mongolab add-on

heroku addons:create mongolab:sandbox

Set ROOT_URL

heroku config:set ROOT_URL="herokuAbsoluteUrl"

Deploy

git push heroku master
githerokumeteor