update guide for 1.7.0

This commit is contained in:
mst 2024-11-26 15:30:10 +03:00
parent ad3adf6d16
commit 91cd4b4c43

View file

@ -1,3 +1,52 @@
## 1.6.x -> 1.7.0
pull the update: `git pull`
run `pip install -r requirements.txt` again to install newly required packages
make the following changes in your config.json file:
```diff
...
"instance": {
...
},
+ "accessibility": {
+ "font": "default",
+ "userway": {
+ "enabled": false,
+ "account": ""
+ }
+ },
"style": {
...
"homepageLayout": "...",
+ "navIcons": true,
+ "navIconsOnly": false
},
+ "antispam": {
+ "type": "basic",
+ "enabled": true,
+ "recaptcha": {
+ "sitekey": "",
+ "secretkey": ""
+ },
+ "turnstile": {
+ "sitekey": "",
+ "secretkey": ""
+ },
+ "frc": {
+ "sitekey": "",
+ "apikey": ""
+ }
+ },
...
```
after that, log into your mariadb/mysql console and execute these commands:
```
USE <catask database name>;
```
```
ALTER TABLE questions ADD COLUMN unread BOOLEAN NOT NULL DEFAULT TRUE;
```
## 1.5.x -> 1.6.x
pull the update: `git pull`