In the following example I deployed a WordPress installation which I exotically named “mywordpress”, running on php-5.4 and MySQL-5.5, using the the example source from GitHub.
As you probably noticed, OpenShift did all the dirty work: created a gitrepo, added DNS, created a MySQL database with a user and password.
And deleted everything when done.
All you can ask for 🙂