Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/mslinn/vfs-s3test
- Owner: mslinn
- License: apache-2.0
- Created: 2014-09-12T04:29:16.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-03T22:05:52.000Z (over 10 years ago)
- Last Synced: 2023-03-12T09:42:22.449Z (almost 2 years ago)
- Language: Scala
- Size: 285 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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