uppy/examples/python-xhr
2020-03-30 16:07:24 +02:00
..
.gitignore create uploads folder, use uppy css from the bundle 2019-04-11 16:30:33 +03:00
index.html create uploads folder, use uppy css from the bundle 2019-04-11 16:30:33 +03:00
main.js add python example with flask 2019-03-28 16:33:59 +01:00
package.json examples: use in-tree uppy version in xhr examples 2019-09-20 14:58:27 +02:00
readme.md examples: document npm run build, closes #2024 2020-03-30 16:07:24 +02: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 + Python Example

This example uses a Python Flask server and @uppy/xhr-upload to upload files to the local file system.

Run it

To run this example, make sure you've correctly installed the repository root:

npm install
npm run build

That will also install the npm dependencies for this example.

Additionally, this example uses python dependencies. Move into this directory, and install them using pip:

cd ./examples/python-xhr
pip install -r requirements.txt

Then, again in the repository root, start this example by doing:

npm run example python-xhr