From ae15e9b89595ec974f7636d6799b8b648002a82e Mon Sep 17 00:00:00 2001 From: Aanand Prasad Date: Wed, 6 Aug 2014 16:15:49 -0700 Subject: [PATCH] update --- cli.html | 2 +- django.html | 2 +- env.html | 2 +- index.html | 7 ++----- install.html | 2 +- rails.html | 2 +- wordpress.html | 2 +- yml.html | 2 +- 8 files changed, 9 insertions(+), 12 deletions(-) diff --git a/cli.html b/cli.html index bb0d4f95..a4114fa4 100644 --- a/cli.html +++ b/cli.html @@ -6,7 +6,7 @@ - + diff --git a/django.html b/django.html index ab127a55..58abe5d5 100644 --- a/django.html +++ b/django.html @@ -6,7 +6,7 @@ - + diff --git a/env.html b/env.html index 0196c8f8..0ebecbe7 100644 --- a/env.html +++ b/env.html @@ -6,7 +6,7 @@ - + diff --git a/index.html b/index.html index 675154a4..8ef5a6db 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@ - + @@ -67,10 +67,7 @@ $ cd figtest from redis import Redis import os app = Flask(__name__) -redis = Redis( - host=os.environ.get('REDIS_1_PORT_6379_TCP_ADDR'), - port=int(os.environ.get('REDIS_1_PORT_6379_TCP_PORT')) -) +redis = Redis(host="redis_1", port=6379) @app.route('/') def hello(): diff --git a/install.html b/install.html index 85090155..8f55d581 100644 --- a/install.html +++ b/install.html @@ -6,7 +6,7 @@ - + diff --git a/rails.html b/rails.html index e37ff7c1..f6541270 100644 --- a/rails.html +++ b/rails.html @@ -6,7 +6,7 @@ - + diff --git a/wordpress.html b/wordpress.html index cb0e60ca..a1d9af5b 100644 --- a/wordpress.html +++ b/wordpress.html @@ -6,7 +6,7 @@ - + diff --git a/yml.html b/yml.html index 6f94cd9c..85615ead 100644 --- a/yml.html +++ b/yml.html @@ -6,7 +6,7 @@ - +