mirror of
https://github.com/transloadit/uppy.git
synced 2026-01-23 10:25:33 +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 ``` |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| index.html | ||
| main.js | ||
| package.json | ||
| README.md | ||
| requirements.txt | ||
| server.py | ||
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