Go to file
Jan Philipp Timme 714ff880b7 [TASK] Add a simple middleware that enforces the active project id. 2014-08-29 15:57:22 +02:00
citavi_mapper [TASK] Add a simple middleware that enforces the active project id. 2014-08-29 15:57:22 +02:00
contrib [TASK] Add jquery 2.1.1. 2014-07-28 15:27:39 +02:00
frontend [TASK] Add a simple middleware that enforces the active project id. 2014-08-29 15:57:22 +02:00
.gitignore [TASK] Adapt .gitignore to only ignore the static directory used to collect things. 2014-07-27 11:05:01 +02:00
.gitmodules [TASK] Add jquery 2.1.1. 2014-07-28 15:27:39 +02:00
README.md [TASK] Update installation instructions. 2014-08-03 19:22:33 +02:00
manage.py [TASK] Kickstart and initial import of citavi_mapper. 2014-07-25 11:20:10 +02:00
requirements.txt [BUGFIX] Staticfiles + Pipeline work now. 2014-07-27 10:26:36 +02:00

README.md

Requirements

We need the lessc binary for css compression. It can be installed via npm:

npm install -g less

We also need yuglify:

npm install -g yuglify

Installation

You may (or may not) want to use a virtualenv for this.

pip install -r requirements.txt

Do not forget to create your private_settings.py!

cp private_settings.example.py private_settings.py vi private_settings.py # Enter your secrets and your database connection.

Before using in production (or development), run this:

python manage.py collectstatic python manage.py syncdb

Static files will be collected in /static, use this in your webserver configuration for production.