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

fix chmod issue on db.inc.php

This commit is contained in:
src386 2015-08-21 16:26:58 +02:00
parent e5fd3942fc
commit 85730765fe
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ Current Movim version : 20150820.
- Public/Private policy changed. The SSO portal is not used anymore
But when a pod is marked as "private", only accounts with @yourdomain.com are able to connect.
This change was necessary for public content (blog)
- Add sticky bit to final_path
- Revert to www-data system user
0.7b 2015-08-20
- Update to upstream Movim 20150820 to fix #5

View file

@ -54,6 +54,7 @@ sudo apt-get install php5-gd php5-curl php5-imagick php5-cli -y
final_path=/var/www/movim
sudo mkdir -p $final_path
sudo cp -a ../sources/* $final_path
sudo cp $final_path/config/db.example.inc.php $final_path/config/db.inc.php
# Create movim system user and set permissions
sudo chown -R www-data: $final_path
@ -64,7 +65,6 @@ sudo su -c "curl -sS https://getcomposer.org/installer | php -- --install-dir=$f
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
sudo sed -i "s@'username' => 'username'@'username' => '$db_user'@g" $final_path/config/db.inc.php
sudo sed -i "s@'password' => 'password'@'password' => '$db_pwd'@g" $final_path/config/db.inc.php
sudo sed -i "s@/ws/@$path/ws/@g" $final_path/app/assets/js/movim_websocket.js