sails-deploy
v0.2.2
Published
Deploy a Sails app to any hosting provider with a compatible deployment strategy.
Downloads
72
Readme
sails-deploy
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.
Installation
In your sails app, run:
npm install sails-deploy
And update your .sailsrc
file to include:
"command": {
"deploy": "sails-deploy"
}
Usage
You'll want to configure a compatible deployment strategy.
Development
To fire this puppy up, open the Node REPL and run:
require('./')({config: {deploy: {module: 'sails-deploy-whatever'}}}, console.log)
To run the tests:
$ npm test
License
MIT
© Mike McNeil 2015