This is a public mirror of our private development repository for mafiasi.de
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
examples
locale
mafiasi
.gitignore
Makefile
README.rst
manage.py
requirements.txt

README.rst

Mafiasi

This is the source code of the django project behind mafiasi.de. This project is under active development, things may change often.

Dependencies

  • Django
  • django-widget-tweaks
  • nameparser
  • creoleparser
  • yui-compressor
  • gettext

Installation

Just install the dependencies, copy example settings and services, migrate database and execute make:

pip install -r requirements.txt
cp mafiasi/settings.py.example mafiasi/settings.py
cp mafiasi/services.py.example mafiasi/services.py
./manage.py migrate
make

If you want to use jabber (ejabberd) you have to load the SQL schema into the database (you'll find it in the ejabberd source code), migrate the jabber database and do some changes to the tables:

psql jabber < ejabberd-source-code/sql/pg.sql
./manage.py migrate --database jabber
psql jabber < mafiasi/jabber/sql/*.sql

We try to keep these installation instructions up to date, but we can't guarantee.