mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-07 22:45:23 +02:00
update DEVELOPMENT.md
This commit is contained in:
parent
b67e26ff85
commit
010b6471df
1 changed files with 25 additions and 0 deletions
|
@ -64,3 +64,28 @@ Run it with
|
|||
```shell
|
||||
node bin/db-converter --db-path=./db --mongodb-uri=mongodb://localhost:27017/docs
|
||||
```
|
||||
|
||||
## Using S3 uploads driver
|
||||
|
||||
### 1. Get credentials for S3 bucket
|
||||
Create a S3 bucket and get access key and secret key (or use existing ones)
|
||||
|
||||
### 2. Setup S3 driver in app-config.local.yaml
|
||||
|
||||
```yaml
|
||||
uploads:
|
||||
driver: "s3"
|
||||
s3:
|
||||
bucket: example.codex.so
|
||||
region: "eu-central-1"
|
||||
baseUrl: "http://example.codex.so.s3-website.eu-central-1.amazonaws.com"
|
||||
keyPrefix: "docs-test"
|
||||
accessKeyId: "<secret>"
|
||||
secretAccessKey: "<secret>
|
||||
```
|
||||
|
||||
### 3. Run the application
|
||||
|
||||
```shell
|
||||
yarn dev
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue