# santa
Deploying to the cloud with your flying sleigh.

## Installation

```bash
npm -g install santa
```

## Usage

### Configuration
`santa` expects a `.santaconf` file in your home directory:

```json
{
  "provider": {
    "provider": "<pkgcloud-provider-name>",
    // other provider-specific options
  }
}
```

`provider` key is simply passed to [`pkgcloud.compute.createClient`](https://github.com/nodejitsu/pkgcloud#compute).

You can configure `santa` easily from command line:

```bash
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`](https://github.com/vigour-io/santa-hello-world).

Once you set up the structure, simply execute `santa deploy` in your application
directory.

### Listing servers

```bash
santa servers list
```

### Listing server flavors

```bash
santa flavors list
```

### Listing images

```bash
santa images list
```

# santa
Deploying to the cloud with your flying sleigh.

## Installation

```bash
npm -g install santa
```

## Usage

### Configuration
`santa` expects a `.santaconf` file in your home directory:

```json
{
  "provider": {
    "provider": "<pkgcloud-provider-name>",
    // other provider-specific options
  }
}
```

`provider` key is simply passed to [`pkgcloud.compute.createClient`](https://github.com/nodejitsu/pkgcloud#compute).

You can configure `santa` easily from command line:

```bash
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

Once you set up the structure, simply execute `santa deploy` in your application
directory.

### Listing servers

```bash
santa servers list
```

### Destroying servers

```bash
santa servers destroy <id>
```

### Listing server flavors

```bash
santa flavors list
```

### Listing images

```bash
santa images list
```

Add destroying, that repo is no more
Add destroying, that repo is no more
