mirror of
https://github.com/YunoHost-Apps/zwiicms_ynh.git
synced 2024-09-03 18:06:04 +02:00
commit
9a56c406ea
10 changed files with 35 additions and 10 deletions
|
@ -29,7 +29,7 @@ Zwii is a database-less (flat-file) CMS that allows you to easily create and man
|
|||
- Flexible
|
||||
|
||||
|
||||
**Shipped version:** 12.3.05~ynh1
|
||||
**Shipped version:** 12.3.05~ynh2
|
||||
|
||||
## Screenshots
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ Zwii is a database-less (flat-file) CMS that allows you to easily create and man
|
|||
- Flexible
|
||||
|
||||
|
||||
**Version incluse :** 12.3.05~ynh1
|
||||
**Version incluse :** 12.3.05~ynh2
|
||||
|
||||
## Captures d’écran
|
||||
|
||||
|
|
19
doc/POST_UPGRADE.md
Normal file
19
doc/POST_UPGRADE.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
## You need now to finalize the upgrade process of ZwiiCMS directly in the app.
|
||||
|
||||
#### 1. Login with your admin account
|
||||
|
||||
#### 2. Go to setup page
|
||||
|
||||
![Setup menu](./upgrade_process_1.png)
|
||||
|
||||
#### 3. Click on Reinstall
|
||||
|
||||
![Reinstall](./upgrade_process_2.png)
|
||||
|
||||
#### 4. If needed, deactivate the maintenance mode
|
||||
|
||||
![Maintenance mode](./upgrade_process_3.png)
|
||||
|
||||
#### 5. Save
|
||||
|
||||
![Save](./upgrade_process_4.png)
|
6
doc/PRE_UPGRADE.md
Normal file
6
doc/PRE_UPGRADE.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
## Disclaimers / important information
|
||||
By continuing the app will stay in **maintenance mode** until a manual finalization.
|
||||
|
||||
The manual finalization process is easy. You just need to be able to access the webapp and login with your admin account.
|
||||
|
||||
This process will be explain at the end of the upgarde proccess.
|
BIN
doc/upgrade_process_1.png
Normal file
BIN
doc/upgrade_process_1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.2 KiB |
BIN
doc/upgrade_process_2.png
Normal file
BIN
doc/upgrade_process_2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.1 KiB |
BIN
doc/upgrade_process_3.png
Normal file
BIN
doc/upgrade_process_3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.7 KiB |
BIN
doc/upgrade_process_4.png
Normal file
BIN
doc/upgrade_process_4.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.3 KiB |
|
@ -5,7 +5,7 @@ name = "ZwiiCMS"
|
|||
description.en = "Simple, lightweight, database-free, scalable and responsive CMS"
|
||||
description.fr = "CMS simple, léger, sans base de données, modulable et responsive"
|
||||
|
||||
version = "12.3.05~ynh1"
|
||||
version = "12.3.05~ynh2"
|
||||
|
||||
maintainers = ["ewilly"]
|
||||
|
||||
|
@ -55,13 +55,6 @@ ram.runtime = "50M"
|
|||
type = "password"
|
||||
|
||||
[resources]
|
||||
|
||||
[resources.sources]
|
||||
|
||||
[resources.sources.main]
|
||||
url = "https://forge.chapril.org/ZwiiCMS-Team/ZwiiCMS/archive/12.3.04.tar.gz"
|
||||
sha256 = "2c0d58dbbf1f036a230dd7825c235a0a118975064290f2c8e306714afbd5d4bc"
|
||||
|
||||
[resources.system_user]
|
||||
|
||||
[resources.install_dir]
|
||||
|
|
|
@ -30,6 +30,13 @@ find "$install_dir" -type f -exec chmod 640 {} \;
|
|||
find "$install_dir" -type d -exec chmod 750 {} \;
|
||||
find "$install_dir" -type d -exec chmod +s {} \;
|
||||
|
||||
#=================================================
|
||||
# UPDATE A CONFIG FILE
|
||||
#=================================================
|
||||
|
||||
# Apply maintenance mode
|
||||
sed -i 's/"maintenance":[^,]*/"maintenance":true/g' "$install_dir/site/data/config.json"
|
||||
|
||||
#=================================================
|
||||
# REAPPLY SYSTEM CONFIGURATIONS
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue