Renée Kooi f6b9106dbe examples: update configs for Companion 2.0+ 4 years ago
..
.gitignore 6693cf252a Rename last remnants of uppy-server in examples 6 years ago
index.html 67af833fdb More uppy server -> companion renames (#1037) 6 years ago
main.js 8c826313b6 A few docs things (#2371) 4 years ago
package.json 10bc79574e lerna link convert (#1730) 5 years ago
readme.md 697ad04a34 examples: document `npm run build`, closes #2024 5 years ago
server.js f6b9106dbe examples: update configs for Companion 2.0+ 4 years ago

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