sshfs: a hidden gem

Posted on May 3, 2011

Have you ever wanted to share a directory among machines? Did you use Samba and got sick of it? Did you use NFS but it stopped working sometimes? Rejoice, use sshfs to mount a remote directory into the local filesystem. The good news is it works.

Deploying Django projects

Posted on March 16, 2011

In the wake of recent discussions about deployment, I feel the need to tell you how easy my deployment has gotten using the old style tools like nginx, uwsgi, and supervisord on a dedicated (or VPS) server. Read on to find out how it stands the chance against the new online services such as ep.io or DjangoZoom.

Tweaking lubuntu/xubuntu

Posted on May 19, 2010

Ubuntu 10.04 LTS is out but one has to wonder if everything has been polished to the degree a long-term release deserves. I had to make a few adjustments to the vanilla install which I am now going to share with you.

virtualenv+pip in ubuntu

Posted on May 5, 2010

Updated on February 20, 2011

There are many ways you can organise your projects in Python. One of them uses virtualenv and pip. They let you work on several projects simultaneously while they keep environments of each project separate. This way, each project can keep its own set of Python dependencies with different packages and different versions of packages.

Much has been written about virtualenv and pip. This guide will help you install virtualenv and pip in Ubuntu in such a way it will be very easy to create new virtualenvs for your projects.

CGI under NGINX

Posted on March 5, 2010

The brilliant NGINX has no support for the old CGI scripts. You may want to run CGI scripts nevertheless, in a restricted environment for example. The guide on the same page provides a decent guide but I struggled to make it run on Ubuntu. Here is what you need to do.

development with virtualenv

Posted on February 26, 2010

Virtualenv is a tool for isolating Python projects. Such Python projects can have their own set of packages and their versions without affecting each other. This article will tell you how to create and work with such environments and how to use them with your Django projects.

This is a follow-up to the last article on virtualenv and pip.