Skip to content

tangtao/sinatra-s3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 aws-s3
  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!

About

An implementation of the S3 API in Sinatra

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 93.7%
  • JavaScript 6.3%