dev: add local.sh script to setup demo environment

Change-Id: I84ed16835dd29a860f09f0040f4d3a146e510aaf
This commit is contained in:
Brad Fitzpatrick 2014-01-31 12:24:30 +01:00
parent bda047eef7
commit ac2bf5f3ca
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,12 @@
{
"servers": {
"dev": {
"server": "http://localhost:3179/",
"auth": "devauth:camli3179",
"default": true
}
},
"ignoredFiles": [".DS_Store"],
"identity": "26F5ABDA",
"identitySecretRing": ["_env", "${CAMLI_CONFENV_SECRET_RING}"]
}

7
dev/local.sh Normal file
View File

@ -0,0 +1,7 @@
#!/bin/sh
export CAMLI_CONFENV_SECRET_RING=$(camtool env camsrcroot)/pkg/jsonsign/testdata/test-secring.gpg
export CAMLI_CONFIG_DIR=$(camtool env camsrcroot)/dev/config-dir-local
# Redundant, but:
export CAMLI_DEFAULT_SERVER=dev