Antoine du Hamel 01d7ea13e9 meta: use Yarn v3 instead of npm (#3237) 3 年 前
..
.gitignore d1e621c53b create uploads folder, use uppy css from the bundle 6 年 前
index.html d1e621c53b create uploads folder, use uppy css from the bundle 6 年 前
main.js 764c2ccada Update Linter (#2796) 4 年 前
package.json 01d7ea13e9 meta: use Yarn v3 instead of npm (#3237) 3 年 前
readme.md 55e0ffd04a Add retext to markdown linter (#3024) 3 年 前
requirements.txt 41ee14db75 add python example with flask 6 年 前
server.py 41ee14db75 add python example with flask 6 年 前

readme.md

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