uppy/examples/python-xhr/README.md
Merlijn Vos 7d6937300a
meta: enable prettier for markdown (#5133)
* meta: enable prettier for markdown

* Ignore changelogs

* revert CHANGELOG changes

* More formatting

---------

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2024-05-02 11:35:55 +02:00

29 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
```