more S3 docs

This commit is contained in:
Joey Hess 2011-03-29 18:21:05 -04:00
parent d8154eaad3
commit 3adb48f46a
3 changed files with 15 additions and 3 deletions

View file

@ -13,6 +13,7 @@ To build and use git-annex, you will need:
* MissingH: <http://github.com/jgoerzen/missingh/wiki>
* pcre-light: <http://hackage.haskell.org/package/pcre-light>
* utf8-string: <http://hackage.haskell.org/package/utf8-string>
* hS3: <http://hackage.haskell.org/package/hS3>
* `uuid`: <http://www.ossp.org/pkg/lib/uuid/>
(or uuidgen from util-linux)
* `xargs`: <http://savannah.gnu.org/projects/findutils/>

View file

@ -10,12 +10,14 @@ First, export your S3 credentials:
# export ANNEX_S3_ACCESS_KEY_ID="08TJMT99S3511WOZEP91"
# export ANNEX_S3_SECRET_ACCESS_KEY="s3kr1t"
Next, create the S3 remote.
Next, create the S3 remote, and describe it.
# git annex initremote mys3 type=S3 encryption=none
initremote mys3 (checking bucket) (creating bucket in US) ok
# git annex describe mys3 "at Amazon's US datacenter"
describe mys3 ok
The configuration for the S3 remote is stored in git. So to make a different
The configuration for the S3 remote is stored in git. So to make another
repository use the same S3 remote is easy:
# cd /media/usb/annex