Merlijn Vos 7d6937300a meta: enable prettier for markdown (#5133) há 1 ano atrás
..
.gitignore dfed0ff200 example: fix aws-companion example (#3850) há 2 anos atrás
README.md 7d6937300a meta: enable prettier for markdown (#5133) há 1 ano atrás
index.html 34c78e9093 meta: run Prettier on existing files (#4713) há 1 ano atrás
main.js dfed0ff200 example: fix aws-companion example (#3850) há 2 anos atrás
package.json 61997f087c Bump express from 4.18.1 to 4.19.2 (#5037) há 1 ano atrás
server.cjs dfed0ff200 example: fix aws-companion example (#3850) há 2 anos atrás

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