diff options
| author | Alon Levy <alon@pobox.com> | 2015-04-10 17:53:38 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-04-10 18:14:47 +0200 |
| commit | c50c2a32f4f81f47f37397b6091d978587bd1bf7 (patch) | |
| tree | c1639c90062c8c5964a1559c6c9ebdfb836348b1 /run-local.sh | |
| parent | f9291579e1454dfd7e4468675721745c9e977de8 (diff) | |
run-local: add a DOMAIN setting for easily testing different domains
Diffstat (limited to 'run-local.sh')
| -rwxr-xr-x | run-local.sh | 3 |
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 |
