Skip to content

christophercliff/caisson

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
bin
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Caisson (deprecated)

I recommend you use AWS SDK for JavaScript in Node.js or AWS Command Line Interface instead.

Deploy your static website to AWS

Caisson makes it easy to host and deploy a static website to AWS via the root domain, e.g. http://yoursite.com.

Why?

It's a tedious process to configure services via the AWS web console. Caisson initializes all of the necessary services in a single init command and syncs your build directory using a smart push command.

What does it do?

Caisson creates two S3 buckets, a Route 53 Hosted Zone, and a CloudFront CDN. It also manages a small cache in S3 for fast pushes.

Installation

Install with npm:

$ npm install -g caisson

Usage

Initialize AWS and push your build directory to S3:

$ caisson init yoursite.com
$ caisson push

You need to manually update your domain to use Route 53's name servers. Caisson will log this information in caisson.json.

Help

For additional help, see:

$ caission --help

Tests

Clone the repo, then run:

$ npm install
$ npm test

License

MIT License, see LICENSE for details.