Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
marcus-lodspeakr
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
uib-ub
Spesialsamlingene
marcus-lodspeakr
Commits
5607f0c8
Commit
5607f0c8
authored
13 years ago
by
Timothy Lebo
Browse files
Options
Downloads
Patches
Plain Diff
reworked so #1 included lodspeakr
parent
13123910
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
install.sh
+5
-4
5 additions, 4 deletions
install.sh
with
5 additions
and
4 deletions
install.sh
+
5
−
4
View file @
5607f0c8
...
@@ -7,7 +7,7 @@ parent_htaccess="../.htaccess"
...
@@ -7,7 +7,7 @@ parent_htaccess="../.htaccess"
settings_file
=
"settings.inc.php"
settings_file
=
"settings.inc.php"
basedir
=
"http://localhost/my/data/"
basedir
=
"http://localhost/my/data/"
lodspeakrdir
=
"lodspeakr"
home
=
`
basename
\`
pwd
\`
`
# 'lodspeakr', the directory from git clone
ns
=
$basedir
ns
=
$basedir
endpoint
=
"http://localhost/sparql?"
endpoint
=
"http://localhost/sparql?"
everything_ok
=
"n"
everything_ok
=
"n"
...
@@ -20,19 +20,20 @@ if [ -e "$parent_htaccess" ]; then
...
@@ -20,19 +20,20 @@ if [ -e "$parent_htaccess" ]; then
fi
fi
back_one
=
`
cd
.. 2>/dev/null
&&
pwd
`
back_one
=
`
cd
.. 2>/dev/null
&&
pwd
`
parent
=
`
basename
$back_one
`
while
[
"
$everything_ok
"
!=
"y"
]
;
do
while
[
"
$everything_ok
"
!=
"y"
]
;
do
echo
echo
echo
"== Basic Information =="
echo
"== Basic Information =="
echo
echo
echo
"LODSPeaKr needs to know three (3) URIs to minimally configure itself:"
echo
"LODSPeaKr needs to know three (3) URIs to minimally configure itself:"
echo
echo
echo
"(1/3) At what URL will
`
pwd
`
be available? (e.g. http://localhost/
`
basename
$back_one
`
/
`
basename
\`
pwd
\`
`
/)"
echo
"(1/3) At what URL will
`
pwd
`
be available? (e.g. http://localhost/
$parent
/
$home
/)"
echo
-n
"(default '
$basedir
'): "
echo
-n
"(default '
$basedir
'): "
read
-u
1 aux_basedir
read
-u
1 aux_basedir
echo
echo
aux_basedir
=
"
`
echo
$aux_basedir
|
sed
's/\/$//'
`
/"
# remove any ending slash and append one.
aux_basedir
=
"
`
echo
$aux_basedir
|
sed
's/\/$//'
`
/"
# remove any ending slash and append one.
if
[
"
$aux_basedir
"
!=
"/"
]
;
then
if
[
"
$aux_basedir
"
!=
"/"
]
;
then
basedir
=
$aux_basedir
basedir
=
`
dirname
$aux_basedir
`
fi
fi
...
@@ -70,7 +71,7 @@ while [ "$everything_ok" != "y" ]; do
...
@@ -70,7 +71,7 @@ while [ "$everything_ok" != "y" ]; do
echo
echo
echo
"Ok, so I have the following configuration:"
echo
"Ok, so I have the following configuration:"
echo
"Base URL is
$basedir
"
echo
"Base URL is
$basedir
"
echo
"lodspeakr is installed at
$basedir$
lodspeakrdir
"
echo
"lodspeakr is installed at
$basedir$
home
"
echo
"The local namespace is
$ns
"
echo
"The local namespace is
$ns
"
echo
"Your SPARQL endpoint is located at
$endpoint
"
echo
"Your SPARQL endpoint is located at
$endpoint
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment