Browse files

Updated with new commands in readme.

  • Loading branch information...
1 parent 3b9d6da commit fe9cadddc1d03663fdd1019ac31e64457c155894 @eschabell committed Apr 2, 2012
Showing with 5 additions and 5 deletions.
  1. +3 −3 README
  2. +2 −2 README.md
View
6 README
@@ -26,15 +26,15 @@ persist between pushes of your repo.
Environment Variables
=====================
-OpenShift Express provides several environment variables to reference for ease
+OpenShift provides several environment variables to reference for ease
of use. The following list are some common variables but far from exhaustive:
$_ENV['OPENSHIFT_APP_NAME'] - Application name
- $_ENV['OPENSHIFT_APP_DIR'] - Application dir
+ $_ENV['OPENSHIFT_GEAR_DIR'] - Application dir
$_ENV['OPENSHIFT_DATA_DIR'] - For persistent storage (between pushes)
$_ENV['OPENSHIFT_TMP_DIR'] - Temp storage (unmodified files deleted after 10 days)
-When embedding a database using rhc-ctl-app, you can reference environment
+When embedding a database using 'rhc add cartridge add', you can reference environment
variables for username, host and password:
$_ENV['OPENSHIFT_DB_HOST'] - DB host
View
4 README.md
@@ -11,11 +11,11 @@ Create an account at http://openshift.redhat.com/
Create a php-5.3 application
- rhc-create-app -a phpmongotweet -t php-5.3
+ rhc app create -a phpmongotweet -t php-5.3
Add MongoDB support to your application
- rhc-ctl-app -a phpmongotweet -e add-mongodb-2.0
+ rhc app cartridge add -a phpmongotweet -c mongodb-2.0
Add this upstream phpmongotweet repo

0 comments on commit fe9cadd

Please sign in to comment.