mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-18 17:16:00 +00:00
- Remove outdated examples - Rename folders for consistency - Remove lots of unused deps in angular example. - Rename `name` inside `package.json`'s from `@uppy-example/*` to `example-*`. **Before** ``` ├── angular-example ├── aws-companion ├── aws-nodejs ├── aws-php ├── bundled ├── cdn-example ├── custom-provider ├── digitalocean-spaces ├── multiple-instances ├── node-xhr ├── php-xhr ├── python-xhr ├── react ├── react-native-expo ├── redux ├── sveltekit ├── transloadit ├── transloadit-markdown-bin ├── uppy-with-companion ├── vue3 └── xhr-bundle ``` **After** ``` examples ├── angular ├── aws-companion ├── aws-nodejs ├── aws-php ├── cdn ├── companion ├── companion-custom-provider ├── companion-digitalocean-spaces ├── react ├── react-native-expo ├── redux ├── sveltekit ├── transloadit ├── vue ├── xhr-bundle ├── xhr-node ├── xhr-php └── xhr-python ```
29 lines
663 B
Markdown
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
|
|
```
|