1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00
This commit is contained in:
src386 2015-08-03 13:53:31 +02:00
parent f30650b037
commit 8cf202268d

View file

@ -33,8 +33,8 @@ sudo cp -a ../sources/* $final_path
sudo chown -R www-data: $final_path
# Install PHP dependencies
sudo su -c "curl -sS https://getcomposer.org/installer | php" -s /bin/sh www-data
sudo su -c "php composer.phar install" -s /bin/sh www-data
sudo su -c "curl -sS https://getcomposer.org/installer | php -- --install-dir=$final_path" -s /bin/sh www-data
sudo su -c "cd $final_path && php composer.phar install" -s /bin/sh www-data
# Movim configuration
sudo cp $final_path/config/db.example.inc.php $final_path/config/db.inc.php
@ -48,7 +48,7 @@ sudo su -c "php mud.php db set" -s /bin/sh www-data
# Copy init script if Wheezy
sudo cp ../conf/movim.init /etc/init.d/movim
sed -i "s/YHDIR/$final_path/g" /etc/init.d/movim
sudo sed -i "s/YHDIR/$final_path/g" /etc/init.d/movim
# Copy systemd service if Jessie
# todo