The OpenShift diy cartridge documentation can be found at:
diy
http://openshift.github.io/documentation/oo_cartridge_guide.html#diy