Antoine du Hamel 141eb248be meta: upgrade to Vite 4 and ESBuild 0.16 (#4243) 2 年 前
..
.gitignore dfed0ff200 example: fix aws-companion example (#3850) 2 年 前
README.md dfed0ff200 example: fix aws-companion example (#3850) 2 年 前
index.html dfed0ff200 example: fix aws-companion example (#3850) 2 年 前
main.js dfed0ff200 example: fix aws-companion example (#3850) 2 年 前
package.json 141eb248be meta: upgrade to Vite 4 and ESBuild 0.16 (#4243) 2 年 前
server.cjs dfed0ff200 example: fix aws-companion example (#3850) 2 年 前

README.md

Uppy + AWS S3 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.

Run it

First, set up the COMPANION_AWS_KEY, COMPANION_AWS_SECRET, COMPANION_AWS_REGION, and COMPANION_AWS_BUCKET environment variables for @uppy/companion in a .env file. You may find useful to first copy the .env.example file:

[ -f .env ] || cp .env.example .env

To run this example, from the repository root, run:

corepack yarn install
corepack yarn workspace @uppy-example/aws-companion start