Explorar el Código

Use new envvar format in getting started guide

Ben Firshman hace 12 años
padre
commit
d5bc521ab0
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      docs/index.md

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