Skip to content

Instantly share code, notes, and snippets.

View mbambadev's full-sized avatar

Dolores Abernathy mbambadev

  • AWALAR
  • Kotto - Douala - Cameroun
View GitHub Profile
@mbambadev
mbambadev / webfaction modern python app install notes.rst
Created May 10, 2020 12:35 — forked from acdha/webfaction modern python app install notes.rst
Installation notes after installing a Django web app on WebFaction

Python 2.6 + Virtualenv + Django 1.1 + Postgres on WebFaction

  1. mkdir -p ~/bin ~/lib/python2.6/site-packages
  2. Configure the environment by putting something like this in your .bashrc and sourcing it:

    export CFLAGS=-I/usr/local/pgsql/include 
    export LDFLAGS=-L/usr/local/pgsql/lib