Add syntax highlighting to env var blocks

Thanks @janko-m!
This commit is contained in:
Renée Kooi 2018-04-26 13:16:02 +02:00
parent bea3c4c2a5
commit ccb4e232cb
No known key found for this signature in database
GPG key ID: 8CDD5F0BC448F040

View file

@ -157,7 +157,7 @@ Many other object storage providers have an identical API to S3, so you can use
For example, with DigitalOcean Spaces, you could do something like this:
```
```bash
export UPPYSERVER_AWS_ENDPOINT="https://{region}.digitaloceanspaces.com"
export UPPYSERVER_AWS_BUCKET="my-space-name"
```
@ -170,7 +170,7 @@ For a working example that you can run and play around with, see the [digitaloce
For Google Cloud Storage, you need to take a few more steps. For the AwsS3 plugin to be able to upload to a GCS bucket, it needs the Interoperability setting enabled. You can enable the Interoperability setting and [generate interoperable storage access keys](https://cloud.google.com/storage/docs/migrating#keys) by going to [Google Cloud Storage](https://console.cloud.google.com/storage) » Settings » Interoperability. Then set the environment variables for Uppy Server like below:
```
```bash
export UPPYSERVER_AWS_ENDPOINT="https://storage.googleapis.com"
export UPPYSERVER_AWS_BUCKET="YOUR-GCS-BUCKET-NAME"
export UPPYSERVER_AWS_KEY="GOOGxxxxxxxxx" # The Access Key