a Sails application
sails lift
assuming app is in a published git repo
- open local app directory
cd my/app/directory/appNametouch Procfile && open Procfile - add this to the Procfile:
web: npm start - save and close Procfile
- open
package.jsonin app directory - find the
scriptsblock then set thestartvalue tosails liftlike this"start": "sails lift" - your scripts block in the package.json file should look like this
"scripts": {
"start": "sails lift",
"debug": "node debug app.js"
},- create heroku instance
heroku create - deploy to heroku
git push heroku master
http://sailsjs.org/documentation/concepts/deployment/hosting