doc: updated README & created updating guide and node >= 12

This commit is contained in:
Florent Chehab
2020-05-11 16:50:33 +02:00
parent f9804e750f
commit 2dfb1079a7
6 changed files with 48 additions and 23 deletions

13
doc/updating_guide.md Normal file
View File

@@ -0,0 +1,13 @@
# Updating guide
## From v1.x to 2.x (or latest)
Configuration handling has been updated: the ability to change settings from the CLI or the environment has been removed.
**Configuration is now handled with a yml config file**, which can be overridden with the `--config` CLI argument.
Here is the mapping from old cli argument / env variables to the new config file object:
- accesstoken => `backend.accessToken`
- webdav => `backend.enableWebdav`
- disablesmallestscreen => `frontend.showSmallestScreenIndicator`