Skip to content

Commit

Permalink
v0.99
Browse files Browse the repository at this point in the history
  • Loading branch information
David Ricciardi committed Jul 31, 2010
1 parent 99d8d43 commit e600a1f
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 26 deletions.
55 changes: 30 additions & 25 deletions README
@@ -1,36 +1,41 @@
An implementation of the S3 API in Sinatra. Most of the code was originaly taken from
ParkPlace, another S3 clone written by _why.
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.

Requirements
-------------------------------------------------------
Install
------------------------------------------------------------------

gem install sinatra haml aws-s3
To install or upgrade Sinatra-S3

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

ruby-git - versioning
rubytorrent - bittorrent tracker
Or we could install from github (bleeding edge, may not work)

The released version of the rubytorrent gem is not compatable with Sinatra-S3 and you
will need to install the version found at http://github.com/nricciar/rubytorrent to have
a working bittorrent tracker.
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

Install
-------------------------------------------------------
Optional Gems

gem install sinatra-s3
sinatra-s3 install_dir
cd install_dir
rake db:migrate
rackup config.ru -p 6060
ruby-git - Enable S3 versioning support.
rubytorrent* - Enable S3 torrent support.

bleeding edge
* 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.

git clone git://github.com/nricciar/sinatra-s3.git
cd sinatra-s3
cp s3.yml.example s3.yml (edit as needed)
rake db:migrate
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/ (change your password!!)
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!
2 changes: 1 addition & 1 deletion lib/sinatra-s3/s3.rb
Expand Up @@ -29,7 +29,7 @@
end

module S3
VERSION = "0.98"
VERSION = "0.99"
DEFAULT_PASSWORD = 'pass@word1'

BUFSIZE = (4 * 1024)
Expand Down

0 comments on commit e600a1f

Please sign in to comment.