|
3 år sedan | |
---|---|---|
.. | ||
.gitignore | 6 år sedan | |
index.html | 6 år sedan | |
main.js | 4 år sedan | |
package.json | 3 år sedan | |
readme.md | 3 år sedan | |
requirements.txt | 6 år sedan | |
server.py | 6 år sedan |
This example uses a Python Flask server and @uppy/xhr-upload
to upload files to the local file system.
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