forked from nricciar/sinatra-s3
-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
41 lines (29 loc) · 1.22 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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!