From 29eee8d8a45148b7f8309aa3958276f23ddbb07a Mon Sep 17 00:00:00 2001 From: mst Date: Sun, 20 Oct 2024 00:16:27 +0300 Subject: [PATCH] add update instructions for 1.6.0 --- UPDATE.md | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/UPDATE.md b/UPDATE.md index c3368e0..edc7555 100644 --- a/UPDATE.md +++ b/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 ; +``` +``` +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", ... ```