Skip to content
Snippets Groups Projects
Commit 28970caf authored by alvaro's avatar alvaro
Browse files

Merge branch 'master' of https://github.com/alangrafu/lodspeakr

parents 401ce8d6 7d8ec4b6
No related branches found
No related tags found
No related merge requests found
lodspeakr - Simple Publishing Kit for Linked Open Data
lodspeakr - Linked Open Data Simple Publishing Kit
author: Alvaro Graves (alvaro@graves.cl)
version: 20120223
......@@ -7,7 +7,7 @@ Simplest Installation
Just run
bash < <(curl -s http://lodspeakr.org/install)
bash < <(curl -sL http://lodspeakr.org/install)
Alternative methods of installation available at
......
......@@ -113,20 +113,24 @@ echo "Created new configuration file: $settings_file"
echo ""
echo "WARNING: Copying $root_htaccess as .htaccess in parent directory"
echo ""
cp $root_htaccess $parent_htaccess
echo "RewriteEngine on" > $parent_htaccess
echo >> $parent_htaccess
echo "RewriteRule ^\$ $1/index.php [L]" >> $parent_htaccess
cat $root_htaccess >> $parent_htaccess
echo "RewriteRule ^(.+)\$ $1/index.php?q=\$1 [L]" >> $parent_htaccess
mkdir cache
echo
echo " *** ATTENTION ***"
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 "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 " chmod -R g+w lodspeakr/cache lodspeakr/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 " chown -R www-apache $1/cache $1/meta (find the name of the apache user in your system)"
echo " chmod -R g+w $1/cache $1/meta (if you have a group in common with the apache user)"
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 "Please give the server write permissions. Otherwise, LODSPeaKr will not work."
echo
......
......@@ -5,4 +5,4 @@ RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !.*/index.php$
RewriteRule ^(.+)$ lodspeakr/index.php?q=$1 [L]
#!/usr/bin/env bash
#
# Installation script for LODSPeaKr (http://lodspeakr.org)
# Author: Alvaro Graves (alvaro@graves.cl)
# Modified by: Tim Lebo (lebot@rpi.edu)
#
# The URL:
# http://lodspeakr.org/install
# 303 redirects to this script.
lodspeakr_repository="git://github.com/alangrafu/lodspeakr.git"
home=`basename $lodspeakr_repository | sed 's/.git//'`
......@@ -17,7 +22,7 @@ fi
if [ ! -e "$home" ]; then
$GIT clone $lodspeakr_repository
cd $home
./install.sh
else
./install.sh $home
else
echo "There is already an existing directory called '$home'. Installation cancelled. Remove it first and try again."
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