mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
Update install
This commit is contained in:
parent
f15b649c09
commit
cc5cfb0bd8
1 changed files with 3 additions and 2 deletions
|
@ -130,7 +130,7 @@ ynh_script_progression --message="Modifying a config file..." --weight=1
|
||||||
ynh_add_config --template="../conf/db.example.inc.php" --destination="$final_path/config/db.inc.php"
|
ynh_add_config --template="../conf/db.example.inc.php" --destination="$final_path/config/db.inc.php"
|
||||||
|
|
||||||
chmod 400 "$final_path/config/db.inc.php"
|
chmod 400 "$final_path/config/db.inc.php"
|
||||||
chown $app:$app "$final_path/config/db.inc.php"
|
chown $app "$final_path/config/db.inc.php"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# Install PHP dependencies using composer
|
# Install PHP dependencies using composer
|
||||||
|
@ -158,7 +158,8 @@ chown -R $app $cache_dir
|
||||||
|
|
||||||
pushd $final_path
|
pushd $final_path
|
||||||
php$phpversion composer.phar $app:migrate --quiet
|
php$phpversion composer.phar $app:migrate --quiet
|
||||||
php$phpversion daemon.php config --username=$admin --password=$password --quiet
|
#php$phpversion daemon.php config --username=$admin --password=$password --quiet
|
||||||
|
php$phpversion daemon.php setAdmin {jid}
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue