/plupload-s3

Sinatra one-file-app that shows how to use Plupload to store directly on Amazon S3

Primary LanguageRuby

Example Plupload + S3 application

Everything is pretty much explained here. This is a demo application, do not bindly copy-paste to your app, there are some dangerous things in here.

Dependencies

You need Ruby and Sinatra for this app to run.

# Once you have ruby and rubygems installed :
$ gem install sinatra # sudo may be required, depending on your setup

Running the app

Make sure you configure the global : $ACL, $BUCKET, $AWS_SECRET. Then :

ruby app.rb