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
ba43153c
Commit
ba43153c
authored
13 years ago
by
alvaro
Browse files
Options
Downloads
Plain Diff
Merge branch 'hotfixes' into development
parents
859dccb5
84babd2b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
install.sh
+16
-13
16 additions, 13 deletions
install.sh
meta/db.sqlite
+0
-0
0 additions, 0 deletions
meta/db.sqlite
with
16 additions
and
13 deletions
install.sh
+
16
−
13
View file @
ba43153c
...
@@ -6,6 +6,7 @@ root_htaccess="root.htaccess"
...
@@ -6,6 +6,7 @@ root_htaccess="root.htaccess"
parent_htaccess
=
"../.htaccess"
parent_htaccess
=
"../.htaccess"
settings_file
=
"settings.inc.php"
settings_file
=
"settings.inc.php"
metadb
=
"db.sqlite"
basedir
=
"http://localhost/my/data/"
basedir
=
"http://localhost/my/data/"
home
=
`
basename
\`
pwd
\`
`
# 'lodspeakr', the directory from git clone
home
=
`
basename
\`
pwd
\`
`
# 'lodspeakr', the directory from git clone
ns
=
$basedir
ns
=
$basedir
...
@@ -21,6 +22,21 @@ fi
...
@@ -21,6 +22,21 @@ fi
back_one
=
`
cd
.. 2>/dev/null
&&
pwd
`
back_one
=
`
cd
.. 2>/dev/null
&&
pwd
`
parent
=
`
basename
$back_one
`
parent
=
`
basename
$back_one
`
mkdir
-p
meta
cd
meta
if
[
!
-e
$metadb
]
;
then
SQLITE3
=
`
which sqlite3
`
if
[
-z
"
$SQLITE3
"
]
;
then
echo
"SQLlite3 is required to continue installation. Please add it to your
\$
PATH."
exit
1
fi
$SQLITE3
$metadb
'CREATE TABLE document (uri varcharg(1000), doc varchar(1000), format varchar(50));'
else
echo
"WARNING: SQLite database already exists."
fi
cd
..
while
[
"
$everything_ok
"
!=
"y"
]
;
do
while
[
"
$everything_ok
"
!=
"y"
]
;
do
echo
echo
echo
"== Basic Information =="
echo
"== Basic Information =="
...
@@ -111,19 +127,6 @@ echo "WARNING: Copying $root_htaccess as .htaccess in parent directory"
...
@@ -111,19 +127,6 @@ echo "WARNING: Copying $root_htaccess as .htaccess in parent directory"
echo
""
echo
""
cp
$root_htaccess
$parent_htaccess
cp
$root_htaccess
$parent_htaccess
#Creating symlinks for turtle and ntriples
cd
views
ln
-s
rdfs:Resource.view.rdf rdfs:Resource.view.nt
ln
-s
rdfs:Resource.view.rdf rdfs:Resource.view.ttl
ln
-s
rdfs:Resource.view.rdf rdfs:Resource.view.json
cd
../models
ln
-s
rdfs:Resource.model.rdf rdfs:Resource.model.nt
ln
-s
rdfs:Resource.model.rdf rdfs:Resource.model.ttl
ln
-s
rdfs:Resource.model.rdf rdfs:Resource.model.json
cd
..
mkdir
cache
mkdir
cache
echo
echo
...
...
This diff is collapsed.
Click to expand it.
meta/db.sqlite
deleted
100755 → 0
+
0
−
0
View file @
859dccb5
File deleted
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