aboutsummaryrefslogtreecommitdiffstats
path: root/user
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2020-02-24 07:58:56 +0300
committerRblSb <msrblsb@gmail.com>2020-02-24 07:58:56 +0300
commit9c6cd2c2310d2e3ce3d1a6e3350a97e7ba0ca657 (patch)
tree3eb12f0eee7ba05b7e70c740561eff31e06b608a /user
parentc561fb9e2e42e4968f2b48cd535f208e90f8c12c (diff)
Start working on user folder
Diffstat (limited to 'user')
-rw-r--r--user/README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/user/README.md b/user/README.md
new file mode 100644
index 0000000..f59e576
--- /dev/null
+++ b/user/README.md
@@ -0,0 +1,18 @@
+## User-specific config
+You can create `config.json` file in this folder to override `default-config.json` options.
+All root config fields are optional to override, so you need to create only what you want to change.
+File example:
+```json
+{
+ "channelName": "-=SuperChannel=-",
+ "videoLimit": 10,
+}
+```
+## User-specific resources
+You can patch any file you want in project `res/` by creating `user/res/sameName` files.
+For example `user/res/index.html` or `user/res/css/custom.css`.
+You can also add any new files.
+## Other files here
+- `state.json` - saved state of latest server session (messages, videos, video time).
+- `logs/` - latest 10 logs. You can change count in config.
+- `crashes/` - folder with latest error logs, when the server had to restart itself.
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage