Deploying to the cloud with your flying sleigh.
npm -g install santa
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>
# ...
santa expects 3 files in your application:
package.jsonscripts/install - should install your applicationscripts/start - should start your applicationFor an example of a santa application, see santa-hello-world.
Once you set up the structure, simply execute santa deploy in your application
directory.
santa servers list
santa flavors list
santa images list