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
5067cf915a
commit
453c084a4e
1 changed files with 4 additions and 9 deletions
|
@ -124,6 +124,7 @@ ynh_script_progression --message="Configuring php-fpm..." --time --weight=1
|
|||
#ynh_replace_string --match_string="YHTZ" --replace_string="$timezone" --target_file=../conf/php-fpm.conf
|
||||
|
||||
ynh_add_fpm_config --package="$extra_php_dependencies"
|
||||
|
||||
phpversion=$(ynh_app_setting_get --app="$app" --key=phpversion)
|
||||
|
||||
#=================================================
|
||||
|
@ -143,16 +144,10 @@ ynh_store_file_checksum --file="$final_path/config/db.inc.php"
|
|||
# Install PHP dependencies using composer
|
||||
#=================================================
|
||||
|
||||
# (
|
||||
# cd "$final_path"
|
||||
# export COMPOSER_HOME=$final_path
|
||||
# curl -sS https://getcomposer.org/installer | php -- --install-dir="$final_path" \
|
||||
# && php composer.phar config --global discard-changes true --quiet \
|
||||
# && php composer.phar install --no-interaction --quiet
|
||||
# )
|
||||
|
||||
pushd "$final_path" || ynh_die
|
||||
composer install #--no-interaction --quiet
|
||||
#composer install #--no-interaction --quiet
|
||||
sudo -u www-data php composer.phar install
|
||||
sudo -u www-data php composer.phar $app:migrate
|
||||
popd || ynh_die
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue