mirror of
https://codeberg.org/catask-org/catask.git
synced 2025-04-19 21:33:41 -05:00
add update instructions for 1.6.0
This commit is contained in:
parent
6fbb30f895
commit
29eee8d8a4
1 changed files with 27 additions and 3 deletions
30
UPDATE.md
30
UPDATE.md
|
@ -1,4 +1,28 @@
|
|||
## 1.4.x -> 1.5.0
|
||||
## 1.5.x -> 1.6.0
|
||||
|
||||
pull the update: `git pull`
|
||||
make these changes in your config.json file:
|
||||
```diff
|
||||
...
|
||||
"style": {
|
||||
...
|
||||
+ "homepageLayout": "catask"
|
||||
},
|
||||
...
|
||||
```
|
||||
|
||||
after that, log into your mariadb/mysql console and execute these commands:
|
||||
```
|
||||
USE <catask database name>;
|
||||
```
|
||||
```
|
||||
ALTER TABLE questions ADD COLUMN cw VARCHAR(255) NOT NULL DEFAULT '';
|
||||
```
|
||||
```
|
||||
ALTER TABLE answers ADD COLUMN cw VARCHAR(255) NOT NULL DEFAULT '';
|
||||
```
|
||||
|
||||
## 1.4.x -> 1.5.x
|
||||
|
||||
pull the update as usual: `git pull`
|
||||
run `pip install -r requirements.txt` again to install newly required packages
|
||||
|
@ -8,7 +32,7 @@ make the following changes in your config.json file:
|
|||
"instance": {
|
||||
...
|
||||
- "image": "/static/img/ca_screenshot.png",
|
||||
+ "image": "/static/icons/favicon/android-chrome-192x192.png",
|
||||
+ "image": "/static/icons/favicon/android-chrome-512x512.png",
|
||||
...
|
||||
},
|
||||
+ "style": {
|
||||
|
@ -20,7 +44,7 @@ make the following changes in your config.json file:
|
|||
+ "tintColors": false,
|
||||
+ "infoBoxLayout": "column"
|
||||
+ },
|
||||
+ "trimContentAfter": "50",
|
||||
+ "trimContentAfter": "50",
|
||||
...
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue