From d5bc521ab04667abbd4f5c89b54297ef1c896475 Mon Sep 17 00:00:00 2001 From: Ben Firshman Date: Tue, 28 Jan 2014 10:25:02 +0000 Subject: [PATCH] Use new envvar format in getting started guide --- docs/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.md b/docs/index.md index 7f96a5173..f802ae008 100644 --- a/docs/index.md +++ b/docs/index.md @@ -74,8 +74,8 @@ from redis import Redis import os app = Flask(__name__) redis = Redis( - host=os.environ.get('FIGTEST_REDIS_1_PORT_6379_TCP_ADDR'), - port=int(os.environ.get('FIGTEST_REDIS_1_PORT_6379_TCP_PORT')) + host=os.environ.get('REDIS_1_PORT_6379_TCP_ADDR'), + port=int(os.environ.get('REDIS_1_PORT_6379_TCP_PORT')) ) @app.route('/')