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.
- Download the installer from http://pypi.python.org/pypi/django-lfc
- $ tar xzf django-lfc-installer-<version>.tar.gz
- $ cd lfc-installer
- $ python bootstrap.py
- $ bin/buildout -v
- Enter your database settings to lfc_project/settings.py
- $ bin/django syncdb
- $ bin/django lfc_init
- $ bin/django runserver
- 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)