0.1.2 • Published 12 years ago
santa v0.1.2
santa
Deploying to the cloud with your flying sleigh.
Installation
npm -g install santaUsage
Configuration
santa expects a .santaconf file in your home directory:
{
"provider": {
"provider": "<pkgcloud-provider-name>",
// other provider-specific options
}
}provider key is simply passed to pkgcloud.compute.createClient.
You can configure santa easily from command line:
santa config set provider:provider <pkgcloud-provider-name>
# ...Deployment
santa expects 3 files in your application:
package.jsonscripts/install- should install your applicationscripts/start- should start your application
For an example of a santa application, see santa-hello-world.
Once you set up the structure, simply execute santa deploy in your application
directory.
Listing servers
santa servers listListing server flavors
santa flavors listListing images
santa images list