uppy/examples/python-xhr
2019-03-28 16:33:59 +01:00
..
.gitignore add python example with flask 2019-03-28 16:33:59 +01:00
index.html add python example with flask 2019-03-28 16:33:59 +01:00
main.js add python example with flask 2019-03-28 16:33:59 +01:00
package-lock.json add python example with flask 2019-03-28 16:33:59 +01:00
package.json add python example with flask 2019-03-28 16:33:59 +01:00
readme.md add python example with flask 2019-03-28 16:33:59 +01:00
requirements.txt add python example with flask 2019-03-28 16:33:59 +01:00
server.py add python example with flask 2019-03-28 16:33:59 +01:00

Uppy + AWS S3 Example

This example uses @uppy/companion with a custom AWS S3 configuration. Files are uploaded to a randomly named directory inside the whatever/ directory in a bucket.

Run it

First set up the COMPANION_AWS_KEY, COMPANION_AWS_SECRET, COMPANION_AWS_REGION, and COMPANION_AWS_BUCKET environment variables for @uppy/companion.

Move into this directory, then:

npm install
npm start