Installation Instructions¶
Bericht is currently written in python 2, because mezzanine has not been ported to python 3 so far. So you need at least python 2 (including development headers) and pip, pythons package manager as well as two libraries for xml-parsing, libxml and libxslt. On Debian(-based) systems the following should be sufficient::
apt-get install python python-dev python-pip libxml2-dev libxslt-dev
Tip
Usage of virtualenv is strongly recommended!
Install the requirements:
pip install -r requirements.txt
Create a local_settings.py
file:
DEBUG = True
DATABASES = {
"default": {
"ENGINE": "django.db.backends.sqlite3",
"NAME": "dev.db",
}
}
Initialize the database:
python manage.py createdb --nodata
python manage.py migrate
Run the development server:
python manage.py runserver
Have fun!