Added tests to adapter loader, cleaned up README, renamed to GCS_BUCKET from GCS_BUCKET_NAME
This commit is contained in:
22
README.md
22
README.md
@@ -135,9 +135,14 @@ PARSE_SERVER_MAX_UPLOAD_SIZE
|
||||
|
||||
```
|
||||
|
||||
##### Configuring S3 Adapter
|
||||
##### Configuring File Adapters
|
||||
Parse Server allows developers to choose from several options when hosting files: the `GridStoreAdapter`, which backed by MongoDB; the `S3Adapter`, which is backed by [Amazon S3](https://aws.amazon.com/s3/); or the `GCSAdapter`, which is backed by [Google Cloud Storage](https://cloud.google.com/storage/).
|
||||
|
||||
You can use the following environment variable setup the S3 adapter
|
||||
`GridStoreAdapter` is used by default and requires no setup, but if you're interested in using S3 or GCS, additional configuration information is available below.
|
||||
|
||||
###### Configuring `S3Adapter`
|
||||
|
||||
You can use the following environment variable setup to enable the S3 adapter:
|
||||
|
||||
```js
|
||||
S3_ACCESS_KEY
|
||||
@@ -149,6 +154,19 @@ S3_DIRECT_ACCESS
|
||||
|
||||
```
|
||||
|
||||
###### Configuring `GCSAdapter`
|
||||
|
||||
You can use the following environment variable setup to enable the GCS adapter:
|
||||
|
||||
```js
|
||||
GCP_PROJECT_ID
|
||||
GCP_KEYFILE_PATH
|
||||
GCS_BUCKET
|
||||
GCS_BUCKET_PREFIX
|
||||
GCS_DIRECT_ACCESS
|
||||
|
||||
```
|
||||
|
||||
## Contributing
|
||||
|
||||
We really want Parse to be yours, to see it grow and thrive in the open source community. Please see the [Contributing to Parse Server guide](CONTRIBUTING.md).
|
||||
|
||||
Reference in New Issue
Block a user