Skip to content

Commit

Permalink
script to automatically update sigma deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
apease committed Jul 22, 2017
1 parent 43de2c9 commit 8c8e42f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions updateSigma.sh
@@ -0,0 +1,19 @@
cd $ONTOLOGYPORTAL_GIT/sumo
git pull
cp *.kif $SIGMA_HOME/KBs
cp -R Translations $SIGMA_HOME/KBs
cp -R WordNetMappings $SIGMA_HOME/KBs
cp -R development $SIGMA_HOME/KBs
cd $ONTOLOGYPORTAL_GIT/sigmakee
git pull
$CATALINA_HOME/bin/shutdown.sh
echo "waiting 10 seconds"
sleep 10
rm $CATALINA_HOME/logs/*.*
rm $CATALINA_HOME/webapps/sigma/graph/*.*
ant
$CATALINA_HOME/bin/startup.sh
echo "waiting 30 seconds"
sleep 30
curl -d userName="user" -d password="user" "http://localhost:8080/sigma/KBs.jsp?kb=SUMO&lang=EnglishLanguage&flang=SUO-KIF&term=Object" > result.html

0 comments on commit 8c8e42f

Please sign in to comment.