mirror of
https://github.com/YunoHost-Apps/zusam_ynh.git
synced 2024-09-03 18:05:54 +02:00
Composer finally working. Phew.
This commit is contained in:
parent
d1af0910c3
commit
c24d34ee23
1 changed files with 7 additions and 4 deletions
|
@ -48,10 +48,13 @@ cp -R $install_dir/app/dist/* $install_dir/public/
|
||||||
|
|
||||||
ynh_script_progression --message="Pulling in external libraries with Composer..."
|
ynh_script_progression --message="Pulling in external libraries with Composer..."
|
||||||
|
|
||||||
pushd $install_dir/api
|
#pushd $install_dir/api
|
||||||
export COMPOSER_HOME=$install_dir/api
|
# export COMPOSER_ALLOW_SUPERUSER=1
|
||||||
/usr/bin/php$phpversion bin/composer install
|
# export COMPOSER_HOME=$install_dir/api
|
||||||
popd
|
# sudo -u $app /usr/bin/php$phpversion bin/composer install
|
||||||
|
#popd
|
||||||
|
|
||||||
|
ynh_install_composer -c "2.4.2" -w $install_dir/api/
|
||||||
|
|
||||||
chown -R $app:www-data "$install_dir"
|
chown -R $app:www-data "$install_dir"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue