First steps in integration of IVIS.

This commit is contained in:
Tomas Bures 2018-12-25 20:13:32 +01:00
parent bf626993f4
commit dce5ba7464
35 changed files with 10098 additions and 91 deletions

View file

@ -0,0 +1,7 @@
#!/bin/sh
SIGSETS=`curl -X GET "localhost:9200/_cat/indices?v" | grep 'signal_set_' | sed -e 's:.*\(signal_set_[^ ]*\).*:\1:g'`
for SIGSET in $SIGSETS ; do
curl -X DELETE "localhost:9200/$SIGSET"
done

View file

@ -0,0 +1,3 @@
#!/bin/sh
curl -X GET "localhost:9200/_cat/indices?v"

3
mvis/tools/new-db.sh Normal file
View file

@ -0,0 +1,3 @@
#!/bin/sh
sudo mysql -e 'drop database mvis; create database mvis'

View file

@ -0,0 +1,5 @@
#!/bin/sh
PACKAGE_DIRS="client server test-embed ivis-core/client ivis-core/shared ivis-core/server ivis-core/embedding"
for i in $PACKAGE_DIRS; do echo $i; cd $i; rm -rf node_modules; npm install; cd -; done

3
mvis/tools/reset-db.sh Normal file
View file

@ -0,0 +1,3 @@
#!/bin/sh
sudo mysql -e 'drop database mt_ivis; create database mt_ivis; connect mt_ivis'