diff options
| author | Alon Levy <alon@pobox.com> | 2014-12-17 09:08:26 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-12-17 09:09:35 +0200 |
| commit | 5673b3286125b7d49123cab0f9cee0a9b45302b9 (patch) | |
| tree | 8ae766e4e575a0440b3e57b5d7c22b16f55190d8 /runlocal | |
| parent | 66fbe4ad9a39de79c04ef67f7896698e1209c328 (diff) | |
adding a local run script
Diffstat (limited to 'runlocal')
| -rwxr-xr-x | runlocal | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/runlocal b/runlocal new file mode 100755 index 00000000..1b3763bc --- /dev/null +++ b/runlocal @@ -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 -DrzRootDir=`realpath ..` deploy-local +cd deploy-local +python bin/rhizi_server.py --config-dir etc |
