Antoine du Hamel 141eb248be meta: upgrade to Vite 4 and ESBuild 0.16 (#4243) il y a 2 ans
..
.gitignore 66f49db856 example: migrate `python-xhr` to ESM (#4010) il y a 2 ans
README.md 66f49db856 example: migrate `python-xhr` to ESM (#4010) il y a 2 ans
index.html 66f49db856 example: migrate `python-xhr` to ESM (#4010) il y a 2 ans
main.js 66f49db856 example: migrate `python-xhr` to ESM (#4010) il y a 2 ans
package.json 141eb248be meta: upgrade to Vite 4 and ESBuild 0.16 (#4243) il y a 2 ans
requirements.txt 41ee14db75 add python example with flask il y a 6 ans
server.py 66f49db856 example: migrate `python-xhr` to ESM (#4010) il y a 2 ans

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:

corepack yarn install
corepack yarn 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:

corepack yarn workspace @uppy-example/python-xhr installPythonDeps

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

corepack yarn workspace @uppy-example/python-xhr start