From 54d4b6cc127a786506cbf4b0abc0ee8e8cc55c56 Mon Sep 17 00:00:00 2001 From: Scisco Date: Thu, 17 Jul 2014 15:52:43 -0400 Subject: Added S3 help to readme --- readme.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'readme.md') 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: ``` -- cgit v1.2.3