Antoine du Hamel e4c53bdad7 deps: remove `rimraf` in favor of built-in `fs.rm` %!s(int64=3) %!d(string=hai) anos
..
.gitignore 6693cf252a Rename last remnants of uppy-server in examples %!s(int64=6) %!d(string=hai) anos
index.html 67af833fdb More uppy server -> companion renames (#1037) %!s(int64=6) %!d(string=hai) anos
main.js 764c2ccada Update Linter (#2796) %!s(int64=4) %!d(string=hai) anos
package.json e4c53bdad7 deps: remove `rimraf` in favor of built-in `fs.rm` %!s(int64=3) %!d(string=hai) anos
readme.md 697ad04a34 examples: document `npm run build`, closes #2024 %!s(int64=5) %!d(string=hai) anos
server.js e4c53bdad7 deps: remove `rimraf` in favor of built-in `fs.rm` %!s(int64=3) %!d(string=hai) anos

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