Go to file
2014-09-02 16:31:02 +02:00
citavi_mapper [TASK] Add MEDIA_ROOT to configuration, create media folder. 2014-09-01 15:22:26 +02:00
contrib [TASK] Add jquery 2.1.1. 2014-07-28 15:27:39 +02:00
frontend [TASK] Begin crunching the sqlite database. 2014-09-02 16:31:02 +02:00
media [TASK] Add MEDIA_ROOT to configuration, create media folder. 2014-09-01 15:22:26 +02:00
service [TASK] Begin crunching the sqlite database. 2014-09-02 16:31:02 +02:00
.gitignore [TASK] Begin introducing a service file for operations on sqlite and more. 2014-09-01 17:01:13 +02:00
.gitmodules [TASK] Add jquery 2.1.1. 2014-07-28 15:27:39 +02:00
manage.py [TASK] Kickstart and initial import of citavi_mapper. 2014-07-25 11:20:10 +02:00
README.md [TASK] Update installation instructions. 2014-08-03 19:22:33 +02:00
requirements.txt [TASK] Add sqlalchemy to requirements.txt. 2014-09-01 11:57:10 +02:00

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.