Skip to content
Snippets Groups Projects
Commit 8c457e60 authored by alvaro's avatar alvaro
Browse files

Fixed problems with installation

parent d9c1b43a
No related branches found
No related tags found
No related merge requests found
...@@ -120,13 +120,13 @@ mkdir cache ...@@ -120,13 +120,13 @@ mkdir cache
echo echo
echo " *** ATTENTION ***" echo " *** ATTENTION ***"
echo echo
echo "LODSPeaKr needs the web server to have write permissions for lodspeakr/cache/ and lodspeakr/meta/." echo "LODSPeaKr needs the web server to have write permissions for $1/cache/ and $1/meta/."
echo echo
echo echo
echo "Common ways of doing this:" echo "Common ways of doing this:"
echo " chown -R www-apache lodspeakr/cache lodspeakr/meta (find the name of the apache user in your system)" echo " chown -R www-apache $1/cache $1/meta (find the name of the apache user in your system)"
echo " chmod -R g+w lodspeakr/cache lodspeakr/meta (if you have a group in common with the apache user)" echo " chmod -R g+w $1/cache $1/meta (if you have a group in common with the apache user)"
echo " chmod -R 777 lodspeakr/cache lodspeakr/meta (highly discouraged but useful to test when everything fails. It shouldn't be used in production sites)" echo " chmod -R 777 $1/cache $1/meta (highly discouraged but useful to test when everything fails. It shouldn't be used in production sites)"
echo echo
echo "Please give the server write permissions. Otherwise, LODSPeaKr will not work." echo "Please give the server write permissions. Otherwise, LODSPeaKr will not work."
echo echo
......
...@@ -18,9 +18,9 @@ fi ...@@ -18,9 +18,9 @@ fi
if [ ! -e "$home" ]; then if [ ! -e "$home" ]; then
$GIT clone $lodspeakr_repository $GIT clone $lodspeakr_repository
cd $home cd $home
./install.sh ./install.sh $lodspeakr_dir
cd .. cd ..
echo "RewriteRule ^(.+)$ $lodspeakr_dir/index.php?q=$1 [L]" >> .htaccess echo "RewriteRule ^(.+)\$ $lodspeakr_dir/index.php?q=\$1 [L]" >> .htaccess
else else
echo "There is already an existing directory called '$home'. Installation cancelled. Remove it first and try again." echo "There is already an existing directory called '$home'. Installation cancelled. Remove it first and try again."
fi fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment