Use new envvar format in getting started guide

This commit is contained in:
Ben Firshman 2014-01-28 10:25:02 +00:00
parent d4f76ba5f9
commit d5bc521ab0
1 changed files with 2 additions and 2 deletions

View File

@ -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('/')