Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
add example env vars to key.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Tristan Sloughter committed Feb 4, 2013
1 parent b5d6577 commit 6d3688c
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -4,6 +4,7 @@

# Run

$ source keys.sh
$ bin/logplex

# Testing
Expand All @@ -12,4 +13,4 @@ Given an empty local redis (v2.6ish):

$ INSTANCE_NAME=`hostname` LOGPLEX_CONFIG_REDIS_URL="redis://localhost:6379" LOCAL_IP="127.0.0.1" LOGPLEX_COOKIE=123 rebar skip_deps=true ct

Runs the common test suite for logplex.
Runs the common test suite for logplex.
22 changes: 22 additions & 0 deletions keys.sh
@@ -0,0 +1,22 @@
export LOGPLEX_COOKIE=logplex_cookie
export PORT=5000
export LOGPLEX_AUTH_KEY=auth_key
export LOGPLEX_CORE_USERPASS=auth_pass
export LOGPLEX_ION_USERPASS=ion_pass
export HEROKU_DOMAIN=localhost
export INSTANCE_NAME=logplex_public
export LOCAL_IP=127.0.0.1
export LOGPLEX_CONFIG_REDIS_URL=redis://localhost:6379
export LOGPLEX_STATS_REDIS_URL=redis://localhost:6379
export LOGPLEX_SHARD_URLS=redis://localhost:6379
export PAGERDUTY=
export ROUTING_PAGERDUTY_SERVICE_KEY=
export LOGPLEX_QUEUE_LENGTH=10
export LOGPLEX_DRAIN_BUFFER_LENGTH=10
export LOGPLEX_REDIS_BUFFER_LENGTH=10
export LOGPLEX_READ_QUEUE_LENGTH=10
export LOGPLEX_WORKERS=10
export LOGPLEX_DRAIN_WRITERS=10
export LOGPLEX_REDIS_WRITERS=10
export LOGPLEX_READERS=10
export LOGPLEX_LOG_HISTORY=100

0 comments on commit 6d3688c

Please sign in to comment.