Browse files

Fixing several consistency issues

  • Loading branch information...
danmcp committed Mar 2, 2012
1 parent 579c764 commit 79617bd2a2ac6245afa9567bd5e5dc735ebeb31b
Showing with 16 additions and 5 deletions.
  1. +11 −0 .project
  2. +1 −1 README
  3. +4 −4
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+ <name>magento-example</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
@@ -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:
@@ -14,11 +14,11 @@ Create an account at
Create a php-5.3 application (you can call your application whatever you want)
- rhc-create-app -a magento -t php-5.3
+ rhc app create -a magento -t php-5.3
Add MySQL support to your application
- rhc-ctl-app -a magento -e add-mysql-5.1
+ rhc app cartridge add -a magento -c mysql-5.1
Add this upstream Magento repo
@@ -46,9 +46,9 @@ 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 save' first :) )
The initialization steps will make changes to the files on the server side. To pull
-those to your local repo, you can run rhc-snapshot -a magento from your client, explode
+those to your local repo, you can run 'rhc app snapshot save -a magento' from your client, explode
the resulting tar.gz and pull all the files from magento/repo/php back to your local
magento/php directory. It's always a good idea to take a snapshot every now and then.

0 comments on commit 79617bd

Please sign in to comment.