34. Step 2: Install the Client Tools > Download openshift.repo > Move openshift.repo to yum.repos.d > Install the client tools $ sudo mv ~Downloads/openshift.repo /etc/yum.repos.d/ $ sudo yum install rhc > Fedora / RHEL: > The rest (OSX, Ubuntu, Cygwin): > gem install rhc Requires 'ruby' and 'gem' http://rubyforge.org/projects/rubygems
35. Step 3: Create Joomladay Domain > Use the rhc-create-domain command > OR use the Express console $ rhc-create-domain -n joomladay -l <openshiftlogin>
36. $ git remote add upstream -m master git://github.com/openshift/joomla-example.git $ git pull -s recursive -X theirs upstream master * You can also use appstream from github/openshift repo Step 4: Create joomlacloud Application > Name your app and define its type > Add MySQL support $ rhc-create-app -a joomlacloud -t php-5.3 -l <openshiftlogin> $ git add -A > Commit your changes $ git commit -a -m “JoomlaDay: Joomla goes in the cloud!” > Unzip Joomla in ./joomlacloud/php and add it to the local Git repository* $ rhc-ctl-app -a joomlacloud -e add-mysql-5.1 -l <openshiftlogin>
37. Step 5: Deploy to the Cloud > Push the local Git repo to Express > Congratulations, your app is in the cloud! $ git push