WordPress Development needs checking of the Nightly Builds. RedHat OpenShift has Free quota of using their PaaS. Simple Git Clone can make it possible to test. As, so far; most developers of the core are not yet used with PaaS that much, might not have own paid server with root access, we are showing here how RedHat OpenShift like PaaS can help WordPress Development.
RedHat OpenShift, WordPress Development and Git
Thankfully, Mark Jaquith (mainly) helped a lot for Github version of WordPress – with default Apache version control system, it is difficult to directly clone the builds. Yet, we can use Git with Subversion for WordPress Plugin Development. Knowing Git and command line is more than enough, there is actually no need to understand Platform as Service (PaaS) itself.
WordPress Development With RedHat OpenShift Free PaaS
With a Free RedHat OpenShift account, we will have three instances – that simple means three versions can be kept to check bugs and build. WordPress Development With RedHat OpenShift Free PaaS is really quite easy. The old guide – Installing WordPress on Red Hat OpenShift Guide will not fully work in our case.
You will create WordPress App with PHP, MySQL, PHPMyAdmin etc. but we need to add our own repo not the default RedHat OpenShift’s one. Look at this screenshot (its old deployment) :
This is default WordPress App, this is not what we will create. I clicked to create a New Application; selected WordPress from “Instant App”, in the “Configure the application” page :
I need to change the git’s URI. Obviously to my intended origin. But, one OpenShift specific fact is, the wp-config.php should be mod-ed :
That is why, I have created a sample App here :
Download as zip file, uncompress it; Understand the file struture and replace with new build file. Deploy it to GitHub (your own repo) and use that Github’s repo’s URI in OpenShift’s that field. Easy.