1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00

now run 'php composer.phar update' in upgrade script

This commit is contained in:
src386 2015-08-31 14:53:47 +02:00
parent 71f68e3e23
commit 5f38a7c152
2 changed files with 1 additions and 3 deletions

1
TODO
View file

@ -1,4 +1,3 @@
- Check if path is not empty beforce install - Check if path is not empty beforce install
- Set timezone in php5-fpm pool - Set timezone in php5-fpm pool
- Movim init script should redirect to syslog - Movim init script should redirect to syslog
- Upgrade php dependencies script

View file

@ -21,8 +21,7 @@ else
fi fi
# Update PHP dependencies # Update PHP dependencies
sudo su -c "curl -sS https://getcomposer.org/installer | php -- --install-dir=$final_path" movim sudo su -c "cd $final_path && php composer.phar update" movim
sudo su -c "cd $final_path && php composer.phar install" movim
# Movim configuration # Movim configuration
sudo sed -i "s@/ws/@$path/ws/@g" $final_path/app/assets/js/movim_websocket.js sudo sed -i "s@/ws/@$path/ws/@g" $final_path/app/assets/js/movim_websocket.js