Skip to content
An implementation of the S3 API in Sinatra
Ruby JavaScript
Find file
Latest commit 376a201 @nricciar reserved words
Failed to load latest commit information.
bin cleanup
config unicorn settings
db/migrate fixed file_info mess
lib reserved words
public removing old files
test cleanup
.gitignore updated dependencies
Gemfile updated dependencies
README updated dependencies
Rakefile cleanup
config.ru bundler support
s3.yml.example bug fixes
sinatra-s3.gemspec cleanup

README

Sinatra-S3 is an implementation of the Amazon S3 API.  Based on the
Parkplace, written by _why, Sinatra-S3 has been extended to provide
additional support for ACLs, versioning and a bittorrent tracker.

Install
------------------------------------------------------------------

To install or upgrade Sinatra-S3

  sudo gem install sinatra-s3
  sinatra-s3 directory
  cd directory
  rake db:migrate

Or we could install from github (bleeding edge, may not work)

  sudo gem install sinatra builder
  git clone git://github.com/nricciar/sinatra-s3.git
  cd sinatra-s3/
  cp s3.yml.example s3.yml
  rake db:migrate

Optional Gems

ruby-git     - Enable S3 versioning support.
rubytorrent* - Enable S3 torrent support. 

* A custom version of rubytorrent is required to enable bittorrent 
  support. see http://github.com/nricciar/rubytorrent. 

Setup
------------------------------------------------------------------

Once Sinatra-S3 has been installed we can start our server and log in 
with the default username admin and password pass@word1. 

  rackup config.ru -p 6060

Once running log in with the username admin and password pass@word1 
via the control center at http://127.0.0.1:6060/control/.  Make sure
to change your password!
Something went wrong with that request. Please try again.