@quilt/quilt
v0.4.2
Published
[](https://travis-ci.org/quilt/quilt) [](https://goreportcard.com/report/github.com/quilt/quilt) [
Install
Install Quilt with npm:
$ npm install -g @quilt/installCheck out more in our Getting Started Guide.
API
Run any container.
let web = new Container('web', 'someNodejsImage');Load balance traffic.
let webGroup = web.replicate(3);
let webLoadBalancer = new LoadBalancer('web-lb', webGroup); // A load balancer over 3 containers.Share and import blueprints via npm.
const Redis = require('@quilt/redis');
let redis = new Redis(2, 'AUTH_PASSWORD'); // 2 Redis database replicas.Set up a secure network.
allow(publicInternet, webGroup, 80); // Open the webservers' port 80 to the public internet.
redis.allowFrom(webGroup, redis.port); // Let the web app communicate with Redis.Deploy VMs on any supported cloud provider.
let vm = new Machine({
provider: 'Amazon',
size: 't2.micro'
});See full example blueprints and check out our docs.
Quilt CLI
# Deploy your application.
$ quilt run ./someBlueprint.js
# SSH into VMs and containers.
$ quilt ssh <ID>
# Check the status of your deployment.
$ quilt showThis is just a small sample of the Quilt CLI. Check out more handy commands for managing your deployment.
Get Started
- Get started with our tutorial
- Check out our docs
- Contribute to the project
- Learn more on our website
- Get in touch!
We would love to hear if you have any questions, suggestions, or other comments!
