Merlijn Vos 7d6937300a meta: enable prettier for markdown (#5133) 1 ano atrás
..
.gitignore dfed0ff200 example: fix aws-companion example (#3850) 2 anos atrás
README.md 7d6937300a meta: enable prettier for markdown (#5133) 1 ano atrás
index.html 34c78e9093 meta: run Prettier on existing files (#4713) 1 ano atrás
main.js dfed0ff200 example: fix aws-companion example (#3850) 2 anos atrás
package.json d425517c64 Release: uppy@4.0.0-beta.1 (#5047) 1 ano atrás
server.cjs dfed0ff200 example: fix aws-companion example (#3850) 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