mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
.
This commit is contained in:
parent
e282d57a64
commit
f30650b037
1 changed files with 1 additions and 2 deletions
|
@ -33,7 +33,6 @@ sudo cp -a ../sources/* $final_path
|
||||||
sudo chown -R www-data: $final_path
|
sudo chown -R www-data: $final_path
|
||||||
|
|
||||||
# Install PHP dependencies
|
# Install PHP dependencies
|
||||||
cd $final_path
|
|
||||||
sudo su -c "curl -sS https://getcomposer.org/installer | php" -s /bin/sh www-data
|
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 "php composer.phar install" -s /bin/sh www-data
|
||||||
|
|
||||||
|
@ -45,7 +44,7 @@ sudo sed -i "s/yhdb/$db_user/g" $final_path/config/db.inc.php
|
||||||
|
|
||||||
# Populate Movim database
|
# Populate Movim database
|
||||||
sudo su -c "php mud.php db set" -s /bin/sh www-data
|
sudo su -c "php mud.php db set" -s /bin/sh www-data
|
||||||
sudo yunohost app addaccess movim -u $admin
|
#sudo yunohost app addaccess movim -u $admin
|
||||||
|
|
||||||
# Copy init script if Wheezy
|
# Copy init script if Wheezy
|
||||||
sudo cp ../conf/movim.init /etc/init.d/movim
|
sudo cp ../conf/movim.init /etc/init.d/movim
|
||||||
|
|
Loading…
Add table
Reference in a new issue