3. Installation

3.1. Prequisites

Make sure you have installed:

  • Python 2.6.x/2.7.x
  • A RDBMS of your choice (PostgreSQL, MySQL, SQLite or Oracle)

3.2. Installation

The installation is straightforward and should last just a few minutes.

  1. Download the installer from http://pypi.python.org/pypi/django-lfc
  2. $ tar xzf django-lfc-installer-<version>.tar.gz
  3. $ cd lfc-installer
  4. $ python bootstrap.py
  5. $ bin/buildout -v
  6. Enter your database settings to lfc_project/settings.py
  7. $ bin/django syncdb
  8. $ bin/django lfc_init
  9. $ bin/django runserver
  10. Browse to http://localhost:8000/

That’s all!

Please note

  • If you encounter problems during bin/buildout -v or on the first run on a Debian or Ubuntu server make sure you have the build tools and Python dev packages installed:

    apt-get install build-essential
    apt-get install python-dev
    apt-get install python-all-dev
    apt-get install python-profiler (multiverse repository)