mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-19 01:24:18 +00:00
26 lines
663 B
Markdown
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
|
|
```
|