Permalink
Browse files

Updating with new command format

  • Loading branch information...
1 parent 53ea7d6 commit 03f7f44d360132d893d504935202de17ce6c6d59 @danmcp danmcp committed Feb 27, 2012
Showing with 5 additions and 5 deletions.
  1. +1 −1 .openshift/action_hooks/deploy
  2. +1 −1 README
  3. +3 −3 README.md
View
2 .openshift/action_hooks/deploy
@@ -10,7 +10,7 @@ if [ -z $OPENSHIFT_DB_HOST ]
then
echo 1>&2
echo "Could not find mysql database. Please run:" 1>&2
- echo "rhc-ctl-app -a $OPENSHIFT_APP_NAME -e add-mysql-5.1" 1>&2
+ echo "rhc app cartridge add -a $OPENSHIFT_APP_NAME -c mysql-5.1" 1>&2
echo "then make a sample commit (add whitespace somewhere) and re-push" 1>&2
echo 1>&2
exit 5
View
2 README
@@ -34,7 +34,7 @@ of use. The following list are some common variables but far from exhaustive:
$_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 app cartridge add', you can reference environment
variables for username, host and password:
$_ENV['OPENSHIFT_DB_HOST'] - DB host
View
6 README.md
@@ -15,11 +15,11 @@ Create an account at http://openshift.redhat.com/
Create a php-5.3 application (you can call your application whatever you want)
- rhc-create-app -a frogcms -t php-5.3
+ rhc app create -a frogcms -t php-5.3
Add MySQL support to your application
- rhc-ctl-app -a frogcms -e add-mysql-5.1
+ rhc app cartridge add -a frogcms -c mysql-5.1
Add this upstream frogcms repo
@@ -48,5 +48,5 @@ GIT_ROOT/.openshift/action_hooks/deploy:
If you need to modify the schema, you could create a file
GIT_ROOT/.openshift/action_hooks/alter.sql and then use
GIT_ROOT/.openshift/action_hooks/deploy to execute that script (make sure to
- back up your application + database w/ rhc-snapshot first :) )
+ back up your application + database w/ rhc app snapshot first :) )

0 comments on commit 03f7f44

Please sign in to comment.