dev-server: use resources from disk for quicker iteration times

Change-Id: I6a6f9d86ca7fa9358730096eb197f8bbe77ac102
This commit is contained in:
Brad Fitzpatrick 2011-06-18 12:04:11 -07:00
parent bd15b4a4c2
commit 9d66ac653d
1 changed files with 5 additions and 0 deletions

View File

@ -75,6 +75,11 @@ $ENV{CAMLI_ROOT_REPLICA3} = $suffixdir->("r3");
$ENV{CAMLI_ROOT_CACHE} = $suffixdir->("cache");
$ENV{CAMLI_PORT} = $port;
$ENV{CAMLI_SECRET_RING} = "$Bin/lib/go/camli/jsonsign/testdata/test-secring.gpg";
# To use resources from disk, instead of the copies linked into the
# binary:
$ENV{CAMLI_DEV_UI_FILES} = "$FindBin::Bin/server/go/camlistored/ui"; # set in server/go/camlistored/ui/fileembed.go
exec("$FindBin::Bin/server/go/camlistored/camlistored",
"-configfile=$Bin/config/dev-server-config.json",
"-listen=$listen",