Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ben-ng/envoy

Fast, simple deployment of static websites.
https://github.com/ben-ng/envoy

Last synced: 21 days ago
JSON representation

Fast, simple deployment of static websites.

Awesome Lists containing this project

README

        

#Envoy
Fast, simple deployment of static sites.

[![Build Status](https://travis-ci.org/ben-ng/envoy.png?branch=master)](https://travis-ci.org/ben-ng/envoy)

##Goals
* **Correctness**
* **Speed**
* **Simplicity**

##Supported Services
* S3
* FTP

##High-Level Calls
```js

var envoy=require('envoy')
, ftpOptions = {
username: 'Fluffy'
, password: 'McChubbers'
, host: 'ftp.cheeseburger.com'
}
, s3Options = {
"bucket": ""
, "key": ""
, "secret": ""
, "region": "" //us-west-1
}
, simpleWebsite = {
"index.html": '

Welcome, Humans!

'
}
, afterDeploy = function (err, log) {
if(err) {
console.err("Uh-oh: " + err);
}
else {
console.log("Website Deployed!");

console.log("Deployment log:");
for(var i=0, ii=log.length; i