1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pico_ynh.git synced 2024-09-03 19:56:41 +02:00
This commit is contained in:
ericgaspar 2022-05-14 18:51:00 +02:00
parent 4febe2d036
commit e7b69d6963
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 11 additions and 1 deletions

View file

@ -1,7 +1,7 @@
##
# Basic
#
site_title: Pico # The title of your website
site_title: __NAME__ # The title of your website
base_url: ~ # Pico will try to guess its base URL, if this fails, override it here;
# Example: https://example.com/pico/
rewrite_url: ~ # A boolean (true or false) indicating whether URL rewriting is forced

View file

@ -40,6 +40,14 @@
"example": "/pico",
"default": "/pico"
},
{
"name": "name",
"type": "name",
"ask": {
"en": "The title of your website",
"fr": "Le titre de votre site web"
},
},
{
"name": "is_public",
"type": "boolean",

View file

@ -27,6 +27,7 @@ ynh_abort_if_errors
domain=$YNH_APP_ARG_DOMAIN
path_url=$YNH_APP_ARG_PATH
is_public=$YNH_APP_ARG_IS_PUBLIC
name=$YNH_APP_ARG_NAME
app=$YNH_APP_INSTANCE_NAME
@ -48,6 +49,7 @@ ynh_script_progression --message="Storing installation settings..." --weight=1
ynh_app_setting_set --app=$app --key=domain --value=$domain
ynh_app_setting_set --app=$app --key=path --value=$path_url
ynh_app_setting_set --app=$app --key=name --value=$name
#=================================================
# INSTALL DEPENDENCIES