mirror of
https://github.com/YunoHost-Apps/grocy_ynh.git
synced 2024-09-03 19:25:54 +02:00
Cleaning up
This commit is contained in:
parent
f6e24cd953
commit
a5b51aeabd
5 changed files with 7 additions and 20 deletions
|
@ -24,8 +24,8 @@ Grocy is a web-based self-hosted groceries & household management solution for y
|
|||
## Configuration
|
||||
|
||||
Default login
|
||||
user: **admin**
|
||||
password: **admin**
|
||||
* user: **admin**
|
||||
* password: **admin**
|
||||
|
||||
## Documentation
|
||||
|
||||
|
|
|
@ -24,8 +24,8 @@ Grocy is a web-based self-hosted groceries & household management solution for y
|
|||
## Configuration
|
||||
|
||||
Connexion par défaut
|
||||
utilisateur : **admin**
|
||||
mot de passe : **admin**
|
||||
* utilisateur : **admin**
|
||||
* mot de passe : **admin**
|
||||
|
||||
## Documentation
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
"email": ""
|
||||
},
|
||||
"requirements": {
|
||||
"yunohost": ">= 4.0.0"
|
||||
"yunohost": ">= 4.1.7"
|
||||
},
|
||||
"multi_instance": true,
|
||||
"services": [
|
||||
|
@ -25,10 +25,6 @@
|
|||
"install": [{
|
||||
"name": "domain",
|
||||
"type": "domain",
|
||||
"help": {
|
||||
"en": "Grocy needs to be installed in its own root domain or subdomain.",
|
||||
"fr": "Grocy doit être installé dans son propre domaine racine ou sous-domaine."
|
||||
},
|
||||
"example": "grocy.example.com"
|
||||
},
|
||||
{
|
||||
|
@ -44,10 +40,6 @@
|
|||
{
|
||||
"name": "is_public",
|
||||
"type": "boolean",
|
||||
"help": {
|
||||
"en": "If enabled, Grocy will be accessible by people who do not have an account. This can be changed later via the webadmin.",
|
||||
"fr": "Si cette case est cochée, Grocy sera accessible aux personnes n’ayant pas de compte. Vous pourrez changer ceci plus tard via la webadmin."
|
||||
},
|
||||
"default": true
|
||||
}
|
||||
]
|
||||
|
|
|
@ -85,9 +85,7 @@ phpversion=$(ynh_app_setting_get --app="$app" --key=phpversion)
|
|||
# MODIFY A CONFIG FILE
|
||||
#=================================================
|
||||
|
||||
cp -a ../conf/config-dist.php "$final_path/data/config.php"
|
||||
|
||||
ynh_replace_string --match_string="__LANGUAGE__" --replace_string="$language" --target_file="$final_path/data/config.php"
|
||||
ynh_add_config --template="../conf/config-dist.php" --destination="$final_path/data/config.php"
|
||||
|
||||
#=================================================
|
||||
# STORE THE CONFIG FILE CHECKSUM
|
||||
|
|
|
@ -115,10 +115,7 @@ ynh_add_fpm_config --package="$extra_php_dependencies"
|
|||
# MODIFY A CONFIG FILE
|
||||
#=================================================
|
||||
|
||||
cp -a ../conf/config-dist.php "$final_path/data/config.php"
|
||||
|
||||
ynh_replace_string --match_string="__LANGUAGE__" --replace_string="$language" --target_file="$final_path/data/config.php"
|
||||
|
||||
ynh_add_config --template="../conf/config-dist.php" --destination="$final_path/data/config.php"
|
||||
|
||||
#=================================================
|
||||
# SECURE FILES AND DIRECTORIES
|
||||
|
|
Loading…
Add table
Reference in a new issue