mcamou / sinatra-s3 Goto Github PK
View Code? Open in Web Editor NEWThis project forked from nricciar/sinatra-s3
An implementation of the S3 API in Sinatra
This project forked from nricciar/sinatra-s3
An implementation of the S3 API in Sinatra
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! This version of sinatra-s3 uses Amazon's new subdomain-based API. That means that buckets are treated as virtual hosts inside a domain, so bucket test within the host localhost will be accessed as test.localhost. That means that you need to either edit your DNS or your OS hosts file to add hosts for each bucket you want to access. In UNIX-based systems, edit /etc/hosts and add the hostname(s) at the end of the localhost entry: 127.0.0.1 localhost bucket1.localhost bucket2.localhost You also need to use up-to-date versions of the Amazon client APIs.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.