sails-deploy

0.2.2 • Public • Published

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

Package Sidebar

Install

npm i sails-deploy

Weekly Downloads

240

Version

0.2.2

License

MIT

Last publish

Collaborators

  • mikermcneil
  • sgress454
  • particlebanana
  • irl