diff options
author | oupala | 2020-06-17 10:53:49 +0200 |
---|---|---|
committer | oupala | 2020-06-17 15:33:55 +0200 |
commit | 46e86b1be3e81956dd9e42604f370f380fa1b63b (patch) | |
tree | 93c35935d4a4564a3782c24fbc3ea21e126e4382 | |
parent | 712e2194f46b5c215496b5412fc905cfdde2f78d (diff) |
refactor: move some documentation
Signed-off-by: oupala <oupala@users.noreply.github.com>
Diffstat (limited to '')
-rw-r--r-- | docs/configuration.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/configuration.md b/docs/configuration.md index be15672d..78661968 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -8,6 +8,8 @@ Environment variables take precedence over configurations from the config files. - The config file is processed in [`lib/config/index.js`](../lib/config/index.js) - so this is the first place to look if anything is missing not obvious from this document. The default values are defined in [`lib/config/default.js`](../lib/config/default.js), in case you wonder if you even need to override it. To get started, it is a good idea to take the `config.json.example` and copy it to `config.json` before filling in your own details. +**Note:** *Due to the rename process we renamed all `HMD_`-prefix variables to be `CMD_`-prefixed. The old ones continue to work.* + ## Node.JS | config file | environment | example value | description | @@ -49,6 +51,8 @@ these are rarely used for various reasons. | `viewPath` | | `./public/views` | template directory path<sup>1</sup> | | `uploadsPath` | | `./public/uploads` | uploads directory<sup>1</sup> - needs to be persistent when you use imageUploadType `filesystem` | +**Note:** *relative paths are based on CodiMD's base directory* + ## CodiMD Location | config file | environment | example value | description | @@ -260,7 +264,3 @@ you don't have to use either of these. | ----------- | --------------- | --------------------------- | --------------------------------------------------------------------------- | | `lutim` | | `{"url": "YOUR_LUTIM_URL"}` | When `imageUploadType` is set to `lutim`, you can setup the lutim url | | | `CMD_LUTIM_URL` | `https://framapic.org/` | When `CMD_IMAGE_UPLOAD_TYPE` is set to `lutim`, you can setup the lutim url | - -**Note:** *Due to the rename process we renamed all `HMD_`-prefix variables to be `CMD_`-prefixed. The old ones continue to work.* - -**Note:** *relative paths are based on CodiMD's base directory* |