Permalink
Browse files

fix variables for dev/typeless as per 1b4b1ab from openshift fork

  • Loading branch information...
1 parent 55d90ca commit 6505a6cc1d8f0f7540af109e94c1d999099ae723 giulivo committed Dec 17, 2012
Showing with 6 additions and 6 deletions.
  1. +2 −2 .openshift/action_hooks/start
  2. +3 −3 README.creole
  3. +1 −1 diy/hellotornado.py
@@ -1,5 +1,5 @@
#!/bin/bash
# The logic to start up your application should be put in this
# script. The application will work only if it binds to
-# $OPENSHIFT_INTERNAL_IP:8080
-nohup ${OPENSHIFT_REPO_DIR}/diy/hellotornado.py > ${OPENSHIFT_LOG_DIR}/hellotornado.log 2>&1 &
+# $OPENSHIFT_DIY_IP:8080
+nohup ${OPENSHIFT_REPO_DIR}/diy/hellotornado.py > ${OPENSHIFT_DIY_LOG_DIR}/hellotornado.log 2>&1 &
View
@@ -64,7 +64,7 @@ application = tornado.web.Application([
])
if __name__ == "__main__":
- address = os.environ['OPENSHIFT_INTERNAL_IP']
+ address = os.environ['OPENSHIFT_DIY_IP']
application.listen(8080, address=address)
tornado.ioloop.IOLoop.instance().start()
@@ -94,8 +94,8 @@ $ more .openshift/action_hooks/start
#!/bin/bash
# The logic to start up your application should be put in this
# script. The application will work only if it binds to
-# $OPENSHIFT_INTERNAL_IP:8080
-nohup ${OPENSHIFT_REPO_DIR}/diy/hellotornado.py > ${OPENSHIFT_LOG_DIR}/hellotornado.log 2>&1 &
+# $OPENSHIFT_DIY_IP:8080
+nohup ${OPENSHIFT_REPO_DIR}/diy/hellotornado.py > ${OPENSHIFT_DIY_LOG_DIR}/hellotornado.log 2>&1 &
}}}
View
@@ -18,6 +18,6 @@ def get(self):
])
if __name__ == "__main__":
- address = os.environ['OPENSHIFT_INTERNAL_IP']
+ address = os.environ['OPENSHIFT_DIY_IP']
application.listen(8080, address=address)
tornado.ioloop.IOLoop.instance().start()

0 comments on commit 6505a6c

Please sign in to comment.