Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mslinn/vfs-s3test

Checking out vfs-s3
https://github.com/mslinn/vfs-s3test

Last synced: 3 months ago
JSON representation

Checking out vfs-s3

Awesome Lists containing this project

README

        

# Virtual File System Test #

See [abashev/vfs-s3](https://github.com/abashev/vfs-s3), the [jets3t samples](https://jets3t.s3.amazonaws.com/toolkit/code-samples.html) and the [commons-vfs Javadoc](http://commons.apache.org/proper/commons-vfs/apidocs/index.html).

## Setup ##
You might want to install [AWS CLI](http://aws.amazon.com/cli/) to make working with AWS S3 easier.

Here is a typical configuration file for AWS CLI. This demo uses the same configuration file:

````
$ cat ~/.aws/config
[default]
aws_access_key_id = AKIADFIUYFEWFOEWFJLEWHF
aws_secret_access_key = JI1OKdRTrXMudidsdfoiwpeofiwepoifpew
region = us-east-1
````

## Running ##
This demo requires an AWS S3 bucket that your credentials have read/write access to.
Let's call that bucket `mybucket`. You can run the demo like this:

$ aws s3 mb mybucket # create bucket
$ sbt "runMain VTest mybucket"
$ aws s3 ls mybucket # verify that README.md was copied to mybucket