summaryrefslogtreecommitdiff
path: root/run-local.sh
blob: 033b896cf7d22fd0dee903f7ceda4fd68f0e354d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
if [ `uname` == "Darwin" ]; then
    neo4j_count=`netstat -na -ptcp 2>/dev/null | grep 7474 | wc -l`
else
    neo4j_count=`netstat -ltnop 2>/dev/null | grep 7474 | wc -l`
fi
if [ $neo4j_count == "0" ]; then
    echo run neo4j please
    exit 0
fi
make # building css relies on Makefile
ant -f build.ant deploy-local
cd deploy-local
python bin/rz_server.py --config-dir etc