This custom command for Sails deploys your app to any PaaS host like Azure, Heroku, EBS, etc. who implements a compatible strategy.
Trying to figure out how this works? Read some more background here;
Custom deployment strategies
Interested in writing a deploy strategy for the service you're using (or your employer?) Check out the link above and hit up @mikermcneil on Twitter.
For an example, see https://npmjs.org/packages/sails-deploy-azure.
In your sails app, run:
npm install sails-deploy
And update your
.sailsrc file to include:
You'll want to configure a compatible deployment strategy.
To fire this puppy up, open the Node REPL and run:
config: deploy: module: 'sails-deploy-whatever' consolelog
To run the tests:
$ npm test
© Mike McNeil 2015