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 :
1 |
https://github.com/AbhishekGhosh/OpenShift-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 :
# means
# appname-usename.rhcloud.com
# 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) :
1 2 3 4 5 6 7 |
# example git clone ssh://53d218264382ec3ccb00068a@openpress-abhishekghosh.rhcloud.com/~/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 :
1 2 3 4 5 6 7 8 9 10 11 12 |
wget https://github.com/AbhishekGhosh/OpenShift-FlatPress/archive/master.zip # do ls to check the name, name can vary ls # unzip unzip master.zip # after unzip completes do these steps cd master 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 :
1 2 3 4 5 6 7 |
Remote: Starting PHP 5.4 cartridge (Apache+mod_php) remote: Application directory "/" selected as DocumentRoot remote: ------------------------- 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 :
1 |
http://php-abhishekghosh.rhcloud.com |
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.
Tagged With paperuri:(28d9a04f1ad97de66eb49cf69c6400d0)Here’s what we’ve got for you which might like :
Additionally, performing a search on this website can help you. Also, we have YouTube Videos.
Take The Conversation Further ...
We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!
If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.
Contact Us