There is only 6 easy steps to deploy your application to cloud.
Step 1 : Sign Up
Just visit to openshift and sign up a new account.
Step 2 : Install client tool
For installation instruction of client visit here
Step 3 : Create domain
1 $ rhc domain create -n <mydomain> -l <openshift login>
Domain is the unique namespace for every account. Execute following command to create your domain
1 $ rhc domain create -n mydomain -l email@example.com
Step 4 : Create application
1 $ rhc app create -a -t
app name is the name of your application ant app type is the type of application you want to create. For a php application we execute following command:
1 $rhc app create -a mycake -t php-5.3
Step 5 : Add MySQL to your application
1 $rhc app cartridge -a mycake -c mysql-5.1
Step 6 : Deploy your application to cloud
Once the application is created, it needs to deployed to cloud. After execution of step 4, a folder with the application name is created in current directory. Goto current directory and add cakephp to it.
1234567 $ cd mycake$ git remote add upstream -m master git://github.com/openshift/cakephp-example.git$ git pull -s recursive -X theirs upstream master$ git push
You can access your application from the URL :