S3-server is a Rails server that responds to the same calls Amazon S3 responds to. It is extremely useful for testing of S3 in a sandbox environment without actually making calls to Amazon, which not only require network.
S3-server doesn't support all of the S3 command set, but the basic ones like put, get, list, copy, multipart uploads, and make bucket are supported. More coming soon.
$ bundle exec rails server -p 10001
- Running with docker
$ docker run -p 10001:10001 -d mdouchement/s3-server
- Running with docker (with volumes)
$ docker run -p 10001:10001 -v /home/user/s3-server/storage:/data/storage -v /home/user/s3-server/db:/data/db -d mdouchement/s3-server
This application is mainly tested with the AWS Ruby SDK.
Here is a running list of supported clients
$ rm -r storage ; rm db/development.sqlite3 ; bundle exec rake db:migrate
$ bundle exec rails s -p 10001
MIT. See the LICENSE for more details.
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Ensure specs and Rubocop pass
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request
Check out the wiki