summaryrefslogtreecommitdiff
path: root/run-local.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run-local.sh')
-rwxr-xr-xrun-local.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/run-local.sh b/run-local.sh
new file mode 100755
index 00000000..ca226076
--- /dev/null
+++ b/run-local.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+if [ `(netstat -ltnop 2>/dev/null | grep 7474 | wc -l)` == 0 ]; then
+ echo run neo4j please
+ exit 0
+fi
+ant -f build.ant deploy-local
+cd deploy-local
+python bin/rhizi_server.py --config-dir etc