npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

santa

0.1.2

@mmalecki

npmSnykSocket
Downloads:115
$ npm install santa
DailyWeeklyMonthlyYearly

santa

Deploying to the cloud with your flying sleigh.

Installation

npm -g install santa

Usage

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.json
  • scripts/install - should install your application
  • scripts/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 list

Listing server flavors

santa flavors list

Listing images

santa images list