mirror of
https://github.com/YunoHost-Apps/kimai2_ynh.git
synced 2024-09-03 19:26:26 +02:00
Update install
This commit is contained in:
parent
7f7e5017b2
commit
6fbf09c43e
1 changed files with 2 additions and 0 deletions
|
@ -30,6 +30,7 @@ is_public=$YNH_APP_ARG_IS_PUBLIC
|
||||||
registration=$YNH_APP_ARG_REGISTRATION
|
registration=$YNH_APP_ARG_REGISTRATION
|
||||||
random_key=$(ynh_string_random 32)
|
random_key=$(ynh_string_random 32)
|
||||||
phpversion=$YNH_PHP_VERSION
|
phpversion=$YNH_PHP_VERSION
|
||||||
|
email=$(ynh_user_get_info --username=$admin --key=mail)
|
||||||
|
|
||||||
app=$YNH_APP_INSTANCE_NAME
|
app=$YNH_APP_INSTANCE_NAME
|
||||||
|
|
||||||
|
@ -173,6 +174,7 @@ ynh_script_progression --message="Installing Kimai2..."
|
||||||
|
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
ynh_exec_as $app php$phpversion bin/console kimai:install -n
|
ynh_exec_as $app php$phpversion bin/console kimai:install -n
|
||||||
|
ynh_exec_as $app php$phpversion bin/console kimai:create-user $admin $email ROLE_SUPER_ADMIN -n
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue