Renée Kooi 697ad04a34 examples: document `npm run build`, closes #2024 %!s(int64=5) %!d(string=hai) anos
..
.gitignore d1e621c53b create uploads folder, use uppy css from the bundle %!s(int64=6) %!d(string=hai) anos
index.html d1e621c53b create uploads folder, use uppy css from the bundle %!s(int64=6) %!d(string=hai) anos
main.js 41ee14db75 add python example with flask %!s(int64=6) %!d(string=hai) anos
package.json 9dae62dc87 examples: use in-tree uppy version in xhr examples %!s(int64=5) %!d(string=hai) anos
readme.md 697ad04a34 examples: document `npm run build`, closes #2024 %!s(int64=5) %!d(string=hai) anos
requirements.txt 41ee14db75 add python example with flask %!s(int64=6) %!d(string=hai) anos
server.py 41ee14db75 add python example with flask %!s(int64=6) %!d(string=hai) anos

readme.md

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