commit
18be5bf0a3
6 changed files with 12 additions and 29 deletions
|
|
@ -1,16 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Globinours demonstration server
|
|
||||||
After=network.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=simple
|
|
||||||
User=www-data
|
|
||||||
Group=www-data
|
|
||||||
WorkingDirectory=__INSTALL_DIR__
|
|
||||||
ExecStart=/usr/bin/php -S 127.0.0.1:8091 -t public public/router.php
|
|
||||||
Restart=on-failure
|
|
||||||
PrivateTmp=true
|
|
||||||
NoNewPrivileges=true
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
This is a dummy admin doc for this app
|
|
||||||
|
|
||||||
The app install dir is `__INSTALL_DIR__`
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
Ceci est une fausse doc d'admin pour cette app
|
|
||||||
|
|
||||||
Le dossier d'install de l'app est `__INSTALL_DIR__`
|
|
||||||
|
|
@ -1 +1,3 @@
|
||||||
This is a dummy description of this app features
|
Globinours is a web-based animal shelter management application, developed in response to specific needs identified in the field.
|
||||||
|
|
||||||
|
It centralises information on the animals, their health, their documents, their family relationships, foster families, contacts and day-to-day activities. Its aim is simple: to enable volunteers and managers to find or enter information in a matter of seconds, without having to navigate through a series of complex screens.
|
||||||
|
|
|
||||||
|
|
@ -5,14 +5,14 @@ packaging_format = 2
|
||||||
id = "globinours"
|
id = "globinours"
|
||||||
name = "Globinours"
|
name = "Globinours"
|
||||||
description.en = "Managing animal shelters and animal welfare associations"
|
description.en = "Managing animal shelters and animal welfare associations"
|
||||||
description.fr = "Expliquez en *quelques* (10~15) mots l'utilité de l'app ou ce qu'elle fait (l'objectif est de donner une idée grossière pour des utilisateurs qui naviguent dans un catalogue de 100+ apps)"
|
description.fr = "Gestion des refuges pour animaux et des associations de protection des animaux"
|
||||||
|
|
||||||
version = "1.0~ynh1"
|
version = "1.0~ynh1"
|
||||||
|
|
||||||
maintainers = ["eric_G"]
|
maintainers = [ ]
|
||||||
|
|
||||||
[upstream]
|
[upstream]
|
||||||
license = "free"
|
license = "AGPL-3.0-or-later"
|
||||||
website = "https://globinours.fr"
|
website = "https://globinours.fr"
|
||||||
code = "https://nnsprod.com/git/oversu/Globinours"
|
code = "https://nnsprod.com/git/oversu/Globinours"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,14 +19,17 @@ ynh_app_setting_set_default --key=php_post_max_size --value=260M
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression "Upgrading source files..."
|
ynh_script_progression "Upgrading source files..."
|
||||||
|
|
||||||
ynh_setup_source --dest_dir="$install_dir" --full_replace --keep=".env"
|
ynh_setup_source --dest_dir="$install_dir" --full_replace --keep=".env data public/media storage"
|
||||||
|
|
||||||
|
chown -R $app:$app $install_dir/data $install_dir/public/media $install_dir/storage
|
||||||
|
chmod -R u+rwX $install_dir/data $install_dir/public/media $install_dir/storage
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# UPDATE A CONFIG FILE
|
# UPDATE A CONFIG FILE
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression "Updating $app's configuration files..."
|
#ynh_script_progression "Updating $app's configuration files..."
|
||||||
|
|
||||||
ynh_config_add --template=".env" --destination="$install_dir/.env"
|
#ynh_config_add --template=".env" --destination="$install_dir/.env"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# REAPPLY SYSTEM CONFIGURATION
|
# REAPPLY SYSTEM CONFIGURATION
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue