uppy/examples/python-xhr/README.md
2022-08-19 11:43:07 +02:00

26 lines
663 B
Markdown

# 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**:
```sh
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:
```sh
corepack yarn workspace @uppy-example/python-xhr installPythonDeps
```
Then, again in the **repository root**, start this example by doing:
```sh
corepack yarn workspace @uppy-example/python-xhr start
```