even more accurate QuickSetup.md

This commit is contained in:
zefie
2026-05-03 14:59:14 -04:00
parent e88dbd98cc
commit e003d9795b

View File

@@ -2,7 +2,7 @@
## user_config.json ## user_config.json
`user_config.json` (in the project root) is where you put your local configuration overrides. It merges on top of `includes/config.json`**do not edit `includes/config.json` directly**. `user_config.json` (in the same folder as `app.js`) is where you put your local configuration overrides. It merges on top of `includes/config.json`**do not edit `includes/config.json` directly**.
You only need to include keys you want to override. Copy `user_config.example.json` as a starting point, or start with a minimal file: You only need to include keys you want to override. Copy `user_config.example.json` as a starting point, or start with a minimal file:
@@ -47,7 +47,7 @@ node tools/configurator.js config.bind_ip 192.168.1.x --overwrite
`user_data_key` is used to encrypt user data. It should be a random secret string and **must be set before registering any users**. `user_data_key` is used to encrypt user data. It should be a random secret string and **must be set before registering any users**.
Changing it after users have registered will require updating the userdata with `tools/update_user_data_key.js`. Making a backup Changing it after users have registered will require updating the userdata with `tools/update_user_data_key.js`. Making a backup
is recommended before running `tools/update_user_data_key.js`, it is pretty resilent against corruption, but just in case. of `SessionStore/accounts` is recommended before running `tools/update_user_data_key.js`, it is pretty resilent against corruption, but just in case.
``` ```
node tools/configurator.js config.keys.user_data_key YOUR_RANDOM_SECRET --overwrite node tools/configurator.js config.keys.user_data_key YOUR_RANDOM_SECRET --overwrite