Installation - Gibthon/Gibthon GitHub Wiki

Gibthon has a number of dependencies. The python packages required are listed in the pip requirements file. Because pip is a bit dumb, and BioPython depends on NumPy you will need to either install NumPy first, or just run pip install -r requirements.txt twice. It is highly recommended to do all of this in a virtual environment

I have found that, under virtualenv, PIL has some problems finding truetype, zlib and jpeg libraries. A quick solution is to symlink the libraries to more normal locations before you install PIL:

ln -s /usr/lib/[i386|x86_64]-linux-gnu/libfreetype.so /usr/lib/
ln -s /usr/lib/[i386|x86_64]-linux-gnu/libz.so /usr/lib/
ln -s /usr/lib/[i386|x86_64]-linux-gnu/libjpeg.so /usr/lib/

Beyond this, you will also need to install UNAFold for primer folding, the setup of which is reasonably straightforward provided you follow their guide. You will need MySQL installed, and it also essential for production to have apache or something similar - Django includes it's own basic service, which is only good enough for development.