From ac2bf5f3ca7b334711f6f089688b012e4331cc0e Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Fri, 31 Jan 2014 12:24:30 +0100 Subject: [PATCH] dev: add local.sh script to setup demo environment Change-Id: I84ed16835dd29a860f09f0040f4d3a146e510aaf --- dev/config-dir-local/client-config.json | 12 ++++++++++++ dev/local.sh | 7 +++++++ 2 files changed, 19 insertions(+) create mode 100644 dev/config-dir-local/client-config.json create mode 100644 dev/local.sh diff --git a/dev/config-dir-local/client-config.json b/dev/config-dir-local/client-config.json new file mode 100644 index 000000000..4e3a147ec --- /dev/null +++ b/dev/config-dir-local/client-config.json @@ -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}"] +} diff --git a/dev/local.sh b/dev/local.sh new file mode 100644 index 000000000..c302d9c64 --- /dev/null +++ b/dev/local.sh @@ -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