Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MARVIN-config
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dbpedia-assoc
MARVIN-config
Commits
6baa4b60
Commit
6baa4b60
authored
4 years ago
by
vehnem
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
521503a4
d3a7d55e
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
functions.sh
+4
-3
4 additions, 3 deletions
functions.sh
setup-or-reset-dief.sh
+5
-4
5 additions, 4 deletions
setup-or-reset-dief.sh
with
9 additions
and
7 deletions
functions.sh
+
4
−
3
View file @
6baa4b60
...
...
@@ -15,10 +15,11 @@ usage:
ROOT
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
>
/dev/null 2>&1
&&
pwd
)
"
CONFIGDIR
=
"
$ROOT
/extractionConfiguration"
DIEFDIR
=
"
$ROOT
/marvin-extraction/extraction-framework"
LOGDIR
=
"
$ROOT
/marvin-extraction/logs/
$(
date
+%Y-%m-%d
)
"
&&
mkdir
-p
$LOGDIR
EXTRACTIONBASEDIR
=
"
$ROOT
/marvin-extraction/wikidumps"
&&
mkdir
-p
$EXTRACTIONBASEDIR
LOGDIR
=
"
$ROOT
/logs/
$(
date
+%Y-%m-%d
)
"
&&
mkdir
-p
$LOGDIR
DATABUSDIR
=
"
$ROOT
/databus-poms"
MARVINEXTRACTIONDIR
=
"
$ROOT
/marvin-extraction/"
DIEFDIR
=
"
$MARVINEXTRACTIONDIR
/extraction-framework"
EXTRACTIONBASEDIR
=
"
$MARVINEXTRACTIONDIR
/wikidumps"
&&
mkdir
-p
$EXTRACTIONBASEDIR
##############
# functions
...
...
This diff is collapsed.
Click to expand it.
setup-or-reset-dief.sh
+
5
−
4
View file @
6baa4b60
#!/bin/bash
# get all variables and functions
# get all variables and functions
and mkdirs
source
functions.sh
# delete and clone
rm
-r
$MARVINEXTRACTIONDIR
/
*
cd
marvin-extraction
git clone
"https://github.com/dbpedia/extraction-framework.git"
$DIEFDIR
&>/dev/null
cd
$DIEFDIR
# reset the ontology and some files that are changes
git stash
git pull
mvn clean
install
2>&1 |
tee
$LOGDIR
/installDIEF.log
# concat universial props
echo
"base-dir=
$EXTRACTIONBASEDIR
"
>
$DIEFDIR
/core/src/main/resources/universal.properties
echo
"log-dir=
$LOGDIR
/extraction/"
>>
$DIEFDIR
/core/src/main/resources/universal.properties
cat
$CONFIGDIR
/universal.properties.template
>>
$DIEFDIR
/core/src/main/resources/universal.properties
mvn clean
install
2>&1 |
tee
$LOGDIR
/installDIEF.log
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