Mikael Finstad 45e66509bc rewrite companion.app() to return an object (#3827) 2 years ago
..
index.html cd242f82b4 examples: Add some text to the DO example page 7 years ago
main.js 764c2ccada Update Linter (#2796) 4 years ago
package.json 01d7ea13e9 meta: use Yarn v3 instead of npm (#3237) 3 years ago
readme.md 55e0ffd04a Add retext to markdown linter (#3024) 3 years ago
server.js 45e66509bc rewrite companion.app() to return an object (#3827) 2 years ago

readme.md

Uploading to DigitalOcean Spaces

This example uses Uppy to upload files to a DigitolOcean Space. DigitalOcean Spaces has an identical API to S3, so we can use the AwsS3 plugin. We use @uppy/companion with a custom endpoint configuration that points to DigitalOcean.

Running 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, again in the repository root, configure some environment variables, and run:

COMPANION_AWS_REGION=ams3 \
COMPANION_AWS_KEY=your_access_key_id \
COMPANION_AWS_SECRET=your_secret_access_key \
COMPANION_AWS_BUCKET=your_space_name \
npm run example digitalocean-spaces