Update README
This commit is contained in:
parent
b4bed37d64
commit
98c0cfc6a7
1 changed files with 3 additions and 13 deletions
16
README.md
16
README.md
|
@ -97,19 +97,9 @@ Configuration files
|
||||||
There are some configs you need to change in the files below
|
There are some configs you need to change in the files below
|
||||||
|
|
||||||
```
|
```
|
||||||
./config.json --- for server settings
|
./config.json ----application settings
|
||||||
./public/js/config.js --- for client settings
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Client settings `config.js`
|
|
||||||
---
|
|
||||||
|
|
||||||
| variables | example values | description |
|
|
||||||
| --------- | ------ | ----------- |
|
|
||||||
| debug | `true` or `false` | set debug mode, show more logs |
|
|
||||||
| domain | `localhost` | domain name |
|
|
||||||
| urlpath | `hackmd` | sub url path, like: `www.example.com/<urlpath>` |
|
|
||||||
|
|
||||||
Environment variables (will overwrite other server configs)
|
Environment variables (will overwrite other server configs)
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -148,7 +138,7 @@ Environment variables (will overwrite other server configs)
|
||||||
| HMD_S3_REGION | `ap-northeast-1` | AWS S3 region |
|
| HMD_S3_REGION | `ap-northeast-1` | AWS S3 region |
|
||||||
| HMD_S3_BUCKET | no example | AWS S3 bucket name |
|
| HMD_S3_BUCKET | no example | AWS S3 bucket name |
|
||||||
|
|
||||||
Server settings `config.json`
|
Application settings `config.json`
|
||||||
---
|
---
|
||||||
|
|
||||||
| variables | example values | description |
|
| variables | example values | description |
|
||||||
|
@ -196,7 +186,7 @@ Third-party integration api key settings
|
||||||
| ------- | --------- | ----------- |
|
| ------- | --------- | ----------- |
|
||||||
| facebook, twitter, github, gitlab, dropbox, google | environment variables or `config.json` | for signin |
|
| facebook, twitter, github, gitlab, dropbox, google | environment variables or `config.json` | for signin |
|
||||||
| imgur | environment variables or `config.json` | for image upload |
|
| imgur | environment variables or `config.json` | for image upload |
|
||||||
| google drive, dropbox | `public/js/config.js` | for export and import |
|
| google drive(`google/apiKey`, `google/clientID`), dropbox(`dropbox/appKey`) | `config.json` | for export and import |
|
||||||
|
|
||||||
Third-party integration oauth callback urls
|
Third-party integration oauth callback urls
|
||||||
---
|
---
|
||||||
|
|
Loading…
Reference in a new issue