Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/ben-ng/envoy
- Owner: ben-ng
- Created: 2013-06-20T01:52:28.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-08-03T21:51:25.000Z (over 9 years ago)
- Last Synced: 2024-10-02T23:14:29.026Z (about 1 month ago)
- Language: JavaScript
- Size: 211 KB
- Stars: 5
- Watchers: 4
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: Readme.md
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
```jsvar 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