Posted By

chrisaiv on 05/09/13


openshift rhc

Versions (?)

Common @openshift RHC commands

 / Published in: Bash

I use these commands all the time while dealing with @openshift. I figured it would make sense to spell them out.

  1. #Switch or setup an account for RHC
  2. rhc setup
  4. #Back up your application + database
  5. rhc snapshot save magento
  7. #Create a php-5.3 + mysql 5.1 application based on a Github codebase (you can call your app whatever you want)
  8. rhc app create $appname php-5.3 mysql-5.1 --from-code=
  10. #Create a php-5.3 application (you can call your application whatever you want)
  11. rhc app create -a $appname -t php-5.3
  12. #Add MySQL support to your application
  13. rhc app cartridge add -a $appname -c mysql-5.1

Report this snippet  

You need to login to post a comment.