update readme

This commit is contained in:
samuelayo 2019-03-28 16:47:31 +01:00
parent d294498147
commit 64b7f78ef2
2 changed files with 6 additions and 9 deletions

View file

@ -1,11 +1,10 @@
# Uppy + AWS S3 Example
# Uppy + Node xhr Example
This example uses @uppy/companion with a custom AWS S3 configuration.
Files are uploaded to a randomly named directory inside the `whatever/` directory in a bucket.
This example uses @uppy/xhr to upload files to the local file system.
## Run it
First set up the `COMPANION_AWS_KEY`, `COMPANION_AWS_SECRET`, `COMPANION_AWS_REGION`, and `COMPANION_AWS_BUCKET` environment variables for @uppy/companion.
Move into this directory, then:
Move into this directory, then:

View file

@ -1,15 +1,13 @@
# Uppy + AWS S3 Example
# Uppy + Python xhr Example
This example uses @uppy/companion with a custom AWS S3 configuration.
Files are uploaded to a randomly named directory inside the `whatever/` directory in a bucket.
This example uses @uppy/xhr to upload files to the local file system.
## Run it
First set up the `COMPANION_AWS_KEY`, `COMPANION_AWS_SECRET`, `COMPANION_AWS_REGION`, and `COMPANION_AWS_BUCKET` environment variables for @uppy/companion.
Move into this directory, then:
```bash
npm install
pip install -r requirements.txt
npm start
```