diff --git a/conf/systemd.service b/conf/systemd.service deleted file mode 100644 index c35ac51..0000000 --- a/conf/systemd.service +++ /dev/null @@ -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 \ No newline at end of file diff --git a/doc/ADMIN.md b/doc/ADMIN.md deleted file mode 100644 index c9b5225..0000000 --- a/doc/ADMIN.md +++ /dev/null @@ -1,3 +0,0 @@ -This is a dummy admin doc for this app - -The app install dir is `__INSTALL_DIR__` diff --git a/doc/ADMIN_fr.md b/doc/ADMIN_fr.md deleted file mode 100644 index a138028..0000000 --- a/doc/ADMIN_fr.md +++ /dev/null @@ -1,3 +0,0 @@ -Ceci est une fausse doc d'admin pour cette app - -Le dossier d'install de l'app est `__INSTALL_DIR__` diff --git a/doc/DESCRIPTION.md b/doc/DESCRIPTION.md index 3f2e57a..8f9533d 100644 --- a/doc/DESCRIPTION.md +++ b/doc/DESCRIPTION.md @@ -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. diff --git a/manifest.toml b/manifest.toml index 7ba8e67..4af16e3 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,14 +5,14 @@ packaging_format = 2 id = "globinours" name = "Globinours" 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" -maintainers = ["eric_G"] +maintainers = [ ] [upstream] -license = "free" +license = "AGPL-3.0-or-later" website = "https://globinours.fr" code = "https://nnsprod.com/git/oversu/Globinours" diff --git a/scripts/upgrade b/scripts/upgrade index e3d0ef9..f0e39a7 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -19,14 +19,17 @@ ynh_app_setting_set_default --key=php_post_max_size --value=260M #================================================= 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 #================================================= -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