Kallithea is management tool for both Mercurial and Git, Somewhat Like Gitlab. Here is How You Will Be Installing Kallithea on OpenShift PaaS. Somewhat like Gitlab because Gitlab is only about git. We have some history with Kallithea. First we wrote how to install RhodeCode on OpenShift. After many days, a person suddenly wrote on Google Plus that RhodeCode is exactly not Free Software, they are trying a lot a new Free Software’s development, then we published the guide – How To Install Kallithea on Rackspace Cloud Server. In past one year, Kallithea has hugely progressed. It is nice to see.
Before Installing Kallithea on OpenShift PaaS
It is actually easy for two reasons – first there is a ready to use QuickStart for OpenShift and secondly, there is also pip installation available now. RedHat OpenShift and Heroku – both PaaS has a free tier of usage, both are quite popular, Heroku has 512MB “gear” whereas Redhat OpenShift has 1GB “gear”. OpenShift allows maximum 3 “gears” for the free accounts. Heroku (probably it true still date, our account is quite older, we might get the older features) provides virtually unlimited free “gears”. But upgrade in Heroku can be costlier than OpenShift. We are in favor of OpenShift as the origin software is Free like WordPress and it is user friendly for the new users who never used command line tools, git etc. But, in this case you have to install the command line tool of OpenShift. This ready to use version will use Apache/mod_wsgi. OpenShift uses mod_wsgi-express.
Official website is here :
kallithea-scm.org # copy to text editor first
Obviously, you’ll need an OpenShift account.
Steps For Installing Kallithea on OpenShift PaaS
We have the Github project here :
https://github.com/ncoghlan/openshift-kallithea # copy to text editor
We need to run these commands :
rhc app create kallithea python-2.7 postgresql-9.2 --no-git
git clone https://github.com/ncoghlan/openshift-kallithea.git kallithea && cd kallithea
Be careful about what you are typing :
git remote add openshift ssh://$myappid@kallithea-$yourdomain.rhcloud.com/~/git/kallithea.git/
git push -f openshift master
Now visit your app domain’s URL. You can login as admin by using
admin as username and
changethis as password. Now, as we have pointed in other guides, you can add this value as
CNAME or directly edit from OpenShift web control panel (this is relatively new feature) and use it as your domain’s subdomain.