mirror of
https://github.com/YunoHost-Apps/zusam_ynh.git
synced 2024-09-03 18:05:54 +02:00
install script: 1st group creation / manifest.toml corrections
This commit is contained in:
parent
2c10149527
commit
bcbf94ff1d
2 changed files with 8 additions and 6 deletions
|
@ -40,18 +40,20 @@ ram.runtime = "50M"
|
|||
default = "fr"
|
||||
|
||||
[install.first_user]
|
||||
ask.en = "Choose the first user of Zusam"
|
||||
ask.en = "Choose the Zusam's first user"
|
||||
ask.fr = "Choisissez le premier utilisateur de Zusam"
|
||||
type = "user"
|
||||
|
||||
[install.first_user_pass]
|
||||
ask.en = "Choose a password for the first user"
|
||||
ask.fr = "Choisissez le premier utilisateur"
|
||||
help.en = "This password is only used for the Zusam app"
|
||||
help.fr = "Ce mot de passe sera utilisé uniquement pour l'application Zusam"
|
||||
ask.en = "Enter a password for Zusam's first user"
|
||||
ask.fr = "Saisissez un mot de passe pour le premier utilisateur de Zusam"
|
||||
type = "password"
|
||||
|
||||
[install.first_group]
|
||||
ask.en = "Choose the first group for the first user"
|
||||
ask.fr = "Choisissez le premier groupe du premier utilisateur"
|
||||
ask.en = "Enter the name of the first group of the first user"
|
||||
ask.fr = "Saississez le nom du premier groupe du premier utilisateur"
|
||||
type = "string"
|
||||
|
||||
[resources]
|
||||
|
|
|
@ -126,7 +126,7 @@ ynh_add_nginx_config
|
|||
# DATABASE
|
||||
|
||||
ynh_script_progression --message="Initialiazing the database..." --weight=1
|
||||
/usr/bin/php$phpversion $install_dir/api/bin/console zusam:init usermail@example.com my_group_name my_password
|
||||
/usr/bin/php$phpversion $install_dir/api/bin/console zusam:init $email $first_group $first_user_pass
|
||||
|
||||
chown -R $app:www-data $install_dir
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue