uppy/examples/python-xhr
Kevin van Zonneveld 764c2ccada
Update Linter (#2796)
* relocate .vscode

* Switch to transloadit linter

* Update .eslintrc.json

* autofix code

* unlink and install eslint-config-transloadit@1.1.1

* Change 0 to "off"

* Don't change 'use strict'

* Do not vertically align

* disable key-spacing

* add import/no-extraneous-dependencies per package

* add more react/a11y warnings

* Revert "autofix code"

This reverts commit 14c8a8cde8.

* add import/no-extraneous-dependencies per example and main package

* autofix code (2)

* Allow devDependencies in ./bin

* Change import/no-extraneous-dependencies to warn again

* upgrade linter

* Set import/no-extraneous-dependencies to warn
2021-03-15 16:25:17 +00:00
..
.gitignore create uploads folder, use uppy css from the bundle 2019-04-11 16:30:33 +03:00
index.html create uploads folder, use uppy css from the bundle 2019-04-11 16:30:33 +03:00
main.js Update Linter (#2796) 2021-03-15 16:25:17 +00:00
package.json examples: use in-tree uppy version in xhr examples 2019-09-20 14:58:27 +02:00
readme.md examples: document npm run build, closes #2024 2020-03-30 16:07:24 +02:00
requirements.txt add python example with flask 2019-03-28 16:33:59 +01:00
server.py add python example with flask 2019-03-28 16:33:59 +01:00

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:

npm install
npm run 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:

cd ./examples/python-xhr
pip install -r requirements.txt

Then, again in the repository root, start this example by doing:

npm run example python-xhr