mirror of
https://codeberg.org/catask-org/catask.git
synced 2025-04-19 21:33:41 -05:00
update guide for 1.7.0
This commit is contained in:
parent
ad3adf6d16
commit
91cd4b4c43
1 changed files with 49 additions and 0 deletions
49
UPDATE.md
49
UPDATE.md
|
@ -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
|
## 1.5.x -> 1.6.x
|
||||||
|
|
||||||
pull the update: `git pull`
|
pull the update: `git pull`
|
||||||
|
|
Loading…
Add table
Reference in a new issue