summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScisco <alireza@developmentseed.org>2014-07-17 15:52:43 -0400
committerScisco <alireza@developmentseed.org>2014-07-17 15:52:43 -0400
commit54d4b6cc127a786506cbf4b0abc0ee8e8cc55c56 (patch)
treee7584d93b1e1680231f0f98810fa990b0f7d47e3
parent3df8dcf63b875f16629d8c428b4a136c7004d5bd (diff)
Added S3 help to readme
-rw-r--r--readme.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/readme.md b/readme.md
index 464d906..44d91e9 100644
--- a/readme.md
+++ b/readme.md
@@ -112,6 +112,19 @@ To kill or restart the background job:
## Publishing content
+### S3
+
+To publish the site on Amazon S3, you need to install S3cmd. On Ubuntu run:
+
+ $: sudo apt-get install s3cmd
+ $: s3cmd --configure
+
+For more information [read this](http://xmodulo.com/2013/06/how-to-access-amazon-s3-cloud-storage-from-command-line-in-linux.html).
+
+`scripts/publish-s3.sh` does the rest of the job for you. Just make sure to add your bucket name there.
+
+### More details on build.sh
+
The stock `build.sh` copies rendered site files to subdirectories under a web server's `www` root directory. For instance, use this script and NGINX with the following configuration file to serve static content behind HTTP basic authentication:
```