Installing a Lightweight Wiki WikkaWiki on Free OpenShift PaaS is just like installing any custom PHP-MySQL based Applications. Here is a detailed guide. WikkaWiki often shortened to Wikka, is a free software wiki which in PHP is programmed. To store the data it uses the MySQL database. The predecessor was the project WikkaWikis WakkaWiki . Meanwhile, developers released it provisionally in 2003 and 2004, finally stopped after a brief revival of the website. As dedicated user patches were released, suggestions and enhancements applied, it came to form of at least six splits . One is WikkaWiki, whose first version, while retaining the version numbering of WakkaWiki, 16 Appeared in May 2004. At the time of Writing, the official website is down. But you will always find the source code from official repo of SourceForge :
1 | http://sourceforge.net/projects/wikka/ |
Installing a Lightweight Wiki WikkaWiki : Introduction
Installing a Lightweight Wiki WikkaWiki on Free OpenShift PaaS is a bit different than that of WordPress but if you are a new user you must watch the video. The initial steps will be same but you have to select a custom environment.
Installing a Lightweight Wiki WikkaWiki on Free OpenShift PaaS
Installing a Lightweight Wiki WikkaWiki needs a PHP environment and MySQL database. Login to OpenShift PaaS Account and Click the Create Application link on navigation bar. Scroll down to PHP and click select the latest version of PHP, that is PHP 5.3 Cartridge right now. Give your Application a name. Now click Create Application button.
---
So the steps are same but you will not get anything installed itself. If you go to the URL, you will see the default OpenShift webpage. Take that this is the url of the app :
1 | http://wiki-abhishekghosh.rhcloud.com/ |
wiki is the application name. You have to add MySQL cartridge. There will be link on Sidebar and clicking that you will get a webpage like this :
Add the MySQL cartridge. If go this url :
1 | https://openshift.redhat.com/app/console/applications/wiki/cartridges |
You will find the mySQL database details. Now the work is fully from OpenShift Command Line – like we described in our previous article. So you need to know about Git a bit. You can follow this guide, a typical guide for using any git. Login from iTerm2 or Terminal whatever Terminal Simulator Application you are using and clone the git first :
1 | git clone ssh://518a04994382ec4cfb0002a5@wiki-abhishekghosh.rhcloud.com/~/git/wiki.git/ |
Obviously the URL will be different from this one and available on your dashboard. It will look like this :
Change Directory (cd –command) to your app :
1 | cd wiki |
in our case. I have deleted all the things recursively going to each unneeded folder with one command :
1 | rm -r * |
Download from here :
1 | http://docs.wikkawiki.org/WhatsNew |
I used this command :
1 | wget http://wikkawiki.org/downloads/Wikka-1.3.4.zip |
wget is an excellent tool. Uncompress it, move all files to the root by :
1 2 3 4 5 6 | cd Wikka-1.3.4 mv * .. mkdir php cd .. mv * /php |
To push it, three commands are needed :
1 2 3 | git add .openshift git commit -a -m 'Some commit message' git push |
I used .openshift as I deleted all recursively. Otherwise adding by git add . will work. You just need to point your browser to the OpenShift’s URL to follow the instruction on browser to complete installation.