Upload files to a private S3 bucket
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
templates
.gitignore
Procfile
README.md
derp.py
requirements.txt
settings.example.py

README.md

derpbox

derpbox uploads files directly to a private Amazon S3 bucket under your control.

a beautiful screenshot

Want to receive notifications when someone uploads a file? Amazon has you covered.

Running on Heroku

derpbox is Heroku ready. Rather than creating a settings.py file, set the following config variables on your app:

heroku config:add AWS_KEY=<your key>
heroku config:add AWS_SECRET=<your secret>
heroku config:add AWS_BUCKET=<your bucket>

Follow this handy guide for instructions on running Flask apps on Heroku.

Running locally or elsewhere

  1. pip install -r requirements.txt
  2. Copy settings.example.py to settings.py and fill in the variables accordingly
  3. python derp.py or use your favorite application server