Skip to content
Mariano Ravinale edited this page Apr 7, 2014 · 4 revisions
  • setup new app in heroku

  • create a new CI server with deploy to heroku ex: drone.io

  • register ssh-key: register ssh-key from drone.io deploy

heroku keys:add my-project-key.key
  • clone the app:
heroku git:clone -a myapp
heroku config:add BUILDPACK_URL=https://github.com/mbuchetics/heroku-buildpack-nodejs-grunt.git
  • set environment:
heroku config:set NODE_ENV=production
  • for database register environemt URI:
heroku config:set MONGOLAB_URI=mongodb://<dbuser>:<dbpassword>@ds061238.mongolab.com:61238/meanp-seed
  • set one dyno running the web process type
heroku ps:scale web=1

Clone this wiki locally