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 | |
| parent | 66fbe4ad9a39de79c04ef67f7896698e1209c328 (diff) | |
adding a local run script
| -rw-r--r-- | README.mediawiki | 8 | ||||
| -rwxr-xr-x | runlocal | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/README.mediawiki b/README.mediawiki index bc89bac6..4e15a33c 100644 --- a/README.mediawiki +++ b/README.mediawiki @@ -4,8 +4,16 @@ A collaborative editor for organizing, communicating, and analyzing data in grap A.K.A The spreadsheet of tomorrow += Requirements = +python +flask +neo4j + = Use = +For testing locally run neo4j locally on the default 7474 port and then launch runlocal: +./runlocal + Command line use documentation can be view with: :$ python rhizi_server.py -h 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 |
