FlatPress is a Light Blogging Software, Written in PHP; Which Needs No Database to Run. Here is How to Run FlatPress on OpenShift PaaS. PHP is never considered a great Programming Language by the good programmers. But if you considering PHP’s performance only from experience of using WordPress – you are quite wrong. FlatPress is very light and quite old CMS. We have a git repo for OpenShift users for easy to work, so that the new users can easily deploy this version. You will need only one Gear to run FlatPress :
Install Light Blogging Software FlatPress on OpenShift PaaS : First Steps
Possibly you are not used with git. Even if you are not used that much, we have written this guide in a way, so that you can easily use FlatPress on OpenShit. First, create a PHP App from OpenShift’s dashboard. PHP desirably should be the latest one. By default, your app will have this kind of URL :
# php will be the default app name
After creating it, you have to clone it to your computer (you’ll get the url on OpenShift dashboard) :Advertisement
git clone ssh://firstname.lastname@example.org/~/git/openpress.git/
# you can not clone mine
# clone yours
# cd to git folder
cd open press
# openpress is just an app name
Install Light Blogging Software FlatPress on OpenShift PaaS: Clone Our Repo and Push
So, you are now at
app-named directory, for us it is
openpress. You will
wget our repo within this directory. Here is the command :
# do ls to check the name, name can vary
# after unzip completes do these steps
mv * ..
cd .. && rm -r master*
git add .
git commit -m "I have copied commit sentence too"
git push origin master
After a time, you’ll get this kind of verbose output :
Remote: Starting PHP 5.4 cartridge (Apache+mod_php)
remote: Application directory "/" selected as DocumentRoot
remote: Git Post-Receive Result: success
remote: Activation status: success
remote: Deployment completed with status: success
That means, success. Visit your app’s url like in case of ours was :
You’ll get promoted to install FlatPress. Use your own user name and password to complete the setup. We have bundled a moron looking responsive theme which you can see on screenshot.