|
hai 7 meses | |
---|---|---|
.. | ||
.gitignore | %!s(int64=2) %!d(string=hai) anos | |
README.md | hai 11 meses | |
index.html | hai 1 ano | |
main.js | %!s(int64=2) %!d(string=hai) anos | |
package.json | hai 7 meses | |
server.cjs | hai 9 meses |
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.
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