Better demo setup

Change-Id: I61e55e3773e30332e6a7d3b426090fbe946a2462
This commit is contained in:
Brad Fitzpatrick 2014-06-02 15:55:10 +09:00
parent 1be28a09db
commit d5fb600ac2
2 changed files with 22 additions and 5 deletions

View File

@ -0,0 +1,12 @@
{
"servers": {
"devcam": {
"server": "http://localhost:3179/",
"auth": "devauth:camli3179",
"default": true
}
},
"ignoredFiles": [".DS_Store"],
"identity": "26F5ABDA",
"identitySecretRing": ["_env", "${HOME}/src/camlistore.org/pkg/jsonsign/testdata/test-secring.gpg"]
}

View File

@ -4,10 +4,15 @@
# still permit using the dev-* scripts (which are normally slow and
# noisy)
go run make.go
go install camlistore.org/dev/devcam
export CAMLI_QUIET=1
export CAMLI_FAST_DEV=1
#go run make.go
#go install camlistore.org/dev/devcam
#export CAMLI_QUIET=1
#export CAMLI_FAST_DEV=1
#Or just:
# Or just:
# (This way is buggy in that the server selection doesn't let you also
# pick an identity)
# export CAMLI_DEFAULT_SERVER=dev
# Better:
export CAMLI_CONFIG_DIR=$HOME/src/camlistore.org/config/dev-client-dir-demo