Django

5 Jan 2015

Django static files in Openshift

To serve static files for django use whitenoise .

This will require you to add an environment variable DJANGO_SETTINGS_MODULE="jhinuk.settings" to your Openshift app. To do this follow the instructions here

29 Dec 2014

Django on Openshift

Openshift is a new app hosting service from RedHat which offers a great free package. Till now I’ve used Heroku to host some apps and its great but it doesn’t provide any free database (well it does but you’ll have to enter your credit card details which in India few people have). Also the filesystem of heroku is such that it refreshes every 24hrs deleting every thing except the repo. So heroku is great for testing but hosting something with somesort of a database is not possible unless you pay.