Jan Philipp Timme fe3d26f905 | ||
---|---|---|
citavi_mapper | ||
contrib | ||
frontend | ||
media | ||
service | ||
.gitignore | ||
.gitmodules | ||
README.md | ||
manage.py | ||
requirements.txt |
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.