mirror of
https://github.com/YunoHost-Apps/indexhibit_ynh.git
synced 2024-09-03 19:26:20 +02:00
commit
517a406027
6 changed files with 17 additions and 24 deletions
|
@ -20,7 +20,7 @@ Indexhibit is a pioneering, influential, web-based content management system (CM
|
|||
It is intended for independent-minded creators, academics, researchers, students, collectors, et al., who wish to learn how and manage the visual display of their works, on their own terms, according to their own abilities.
|
||||
|
||||
|
||||
**Shipped version:** 2.1.2023.05.17~ynh2
|
||||
**Shipped version:** 2.1.2023.05.17~ynh3
|
||||
|
||||
## Screenshots
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
|
|||
Indexhibit est un système de gestion de contenu (CMS) pionnier et influent basé sur le Web, fondé en 2006 par Jeffery Vaska et Daniel Eatock, qui est principalement utilisé pour créer des portfolios en ligne (image, texte et vidéo).
|
||||
Il s'adresse aux créateurs indépendants d'esprit, universitaires, chercheurs, étudiants, collectionneurs, etc., qui souhaitent apprendre et gérer la présentation visuelle de leurs œuvres, à leur manière, selon leurs propres capacités.
|
||||
|
||||
**Version incluse :** 2.1.2023.05.17~ynh2
|
||||
**Version incluse :** 2.1.2023.05.17~ynh3
|
||||
|
||||
## Captures d’écran
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ name = "Indexhibit"
|
|||
description.en = "Archetypal portfolio CMS for everybody"
|
||||
description.fr = "CMS de portfolio archétypal pour tout le monde"
|
||||
|
||||
version = "2.1.2023.05.17~ynh2"
|
||||
version = "2.1.2023.05.17~ynh3"
|
||||
|
||||
maintainers = [ "eric_G" ]
|
||||
|
||||
|
@ -16,11 +16,14 @@ admindoc = "https://forum.indexhibit.org/tutorials/getting-started/installation/
|
|||
code = "https://github.com/Indexhibit/indexhibit"
|
||||
|
||||
[integration]
|
||||
yunohost = ">= 11.1.19"
|
||||
yunohost = ">= 11.2"
|
||||
architectures = "all"
|
||||
multi_instance = true
|
||||
|
||||
ldap = false
|
||||
|
||||
sso = false
|
||||
|
||||
disk = "50M"
|
||||
ram.build = "50M"
|
||||
ram.runtime = "50M"
|
||||
|
@ -52,7 +55,7 @@ ram.runtime = "50M"
|
|||
main.url = "/"
|
||||
|
||||
[resources.apt]
|
||||
packages = "mariadb-server php8.0-fpm php8.0-mysql"
|
||||
packages = "mariadb-server, php8.2-fpm, php8.2-mysql"
|
||||
|
||||
[resources.database]
|
||||
type = "mysql"
|
||||
|
|
|
@ -26,7 +26,7 @@ chown -R $app:www-data "$install_dir"
|
|||
ynh_script_progression --message="Configuring PHP-FPM..." --weight=1
|
||||
|
||||
# Create a dedicated PHP-FPM config
|
||||
ynh_add_fpm_config --usage=low --footprint=low
|
||||
ynh_add_fpm_config
|
||||
|
||||
# Create a dedicated NGINX config
|
||||
ynh_add_nginx_config
|
||||
|
|
|
@ -20,6 +20,13 @@ ynh_restore_file --origin_path="$install_dir"
|
|||
chmod -R o-rwx "$install_dir"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE MYSQL DATABASE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Restoring the MySQL database..." --weight=1
|
||||
|
||||
ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE PHP-FPM CONFIGURATION
|
||||
#=================================================
|
||||
|
@ -27,20 +34,8 @@ ynh_script_progression --message="Restoring the PHP-FPM configuration..." --weig
|
|||
|
||||
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE NGINX CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Restoring the NGINX web server configuration..." --weight=1
|
||||
|
||||
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE MYSQL DATABASE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Restoring the MySQL database..." --weight=1
|
||||
|
||||
ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
#=================================================
|
||||
|
|
|
@ -36,12 +36,7 @@ chown -R $app:www-data "$install_dir"
|
|||
ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=1
|
||||
|
||||
# Create a dedicated PHP-FPM config
|
||||
ynh_add_fpm_config --usage=low --footprint=low
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=1
|
||||
ynh_add_fpm_config
|
||||
|
||||
# Create a dedicated NGINX config
|
||||
ynh_add_nginx_config
|
||||
|
|
Loading…
Add table
Reference in a new issue