Renée Kooi 697ad04a34 examples: document `npm run build`, closes #2024 5 rokov pred
..
.gitignore 6693cf252a Rename last remnants of uppy-server in examples 6 rokov pred
index.html 67af833fdb More uppy server -> companion renames (#1037) 6 rokov pred
main.js adeb2fecfa update docs, tests, and examples with companionUrl rename 6 rokov pred
package.json 10bc79574e lerna link convert (#1730) 5 rokov pred
readme.md 697ad04a34 examples: document `npm run build`, closes #2024 5 rokov pred
server.js e74690e20c examples: remove UPPYSERVER_ references 5 rokov pred

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

To run this example, make sure you've correctly installed the repository root:

npm install
npm run build

That will also install the dependencies for this example.

Then, set up the COMPANION_AWS_KEY, COMPANION_AWS_SECRET, COMPANION_AWS_REGION, and COMPANION_AWS_BUCKET environment variables for @uppy/companion.

Then, again in the repository root, start this example by doing:

npm run example aws-companion