summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrun-local.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/run-local.sh b/run-local.sh
index 16ddf7e7..f98cfd21 100755
--- a/run-local.sh
+++ b/run-local.sh
@@ -6,12 +6,13 @@ quit_if_no_neo4j_running
CONFIG=res/etc/rhizi-server.conf
EXAMPLE=res/etc/rhizi-server.conf.example
HTPASSWD=res/etc/htpasswd
+DOMAIN=cri.rhizi.net
if [ ! -f $CONFIG ]; then
echo "copying $EXAMPLE to $CONF"
echo "please edit it as you see fit"
cp $EXAMPLE $CONFIG
fi
make # building css relies on Makefile
-ant -f build.ant deploy-local
+ant -f build.ant deploy-local -DdefaultDomain=$DOMAIN -DtargetDomain=$DOMAIN
cd deploy-local
python2.7 bin/rz_server.py --config-dir etc