1
0
Fork 0
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:
ericgaspar 2021-07-21 21:26:08 +02:00
parent f15b649c09
commit cc5cfb0bd8
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -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
#================================================= #=================================================