From c50c2a32f4f81f47f37397b6091d978587bd1bf7 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Fri, 10 Apr 2015 17:53:38 +0200 Subject: run-local: add a DOMAIN setting for easily testing different domains --- run-local.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.3.1