Comparing version 0.0.5 to 0.0.6
@@ -9,3 +9,3 @@ { | ||
], | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"repository": { | ||
@@ -12,0 +12,0 @@ "type": "git", |
@@ -7,10 +7,9 @@ #Envoy | ||
##Goals | ||
* **Correctness:** Deployed sites *have* to be perfect, every time. Test, test, test, and test some more. | ||
* **Speed:** Perform the bare minimum number of operations without compromising correctness. | ||
* **Simplicity:** One command should be all it takes to deploy to any service, and it should Just Work™. | ||
* **Correctness** | ||
* **Speed** | ||
* **Simplicity** | ||
##Supported Services | ||
* S3 | ||
* FTP | ||
* S3 *(Soon...)* | ||
* Github Pages *(Soon...)* | ||
@@ -26,2 +25,8 @@ ##High-Level Calls | ||
} | ||
, s3Options = { | ||
"bucket": "<BUCKET NAME>" | ||
, "key": "<AWS ACCESS KEY>" | ||
, "secret": "<AWS SECRET KEY>" | ||
, "region": "<AWS REGION>" //us-west-1 | ||
} | ||
, simpleWebsite = { | ||
@@ -44,4 +49,4 @@ "index.html": '<h1>Welcome, Humans!</h1>' | ||
// Deploying a local folder to FTP | ||
envoy.deployFolder('./my-website-folder', 'ftp', ftpOptions, afterDeploy); | ||
// Deploying a local folder to S3 | ||
envoy.deployFolder('./my-website-folder', 's3', s3Options, afterDeploy); | ||
@@ -101,2 +106,2 @@ // Deploying a collection of files to FTP | ||
* Enable static website hosting yourself | ||
* We'll set `x-amz-acl = public-read` on uploaded objects | ||
* We'll set `x-amz-acl = public-read` on uploaded objects |
104
87092