29 lines
689 B
Markdown
29 lines
689 B
Markdown
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.
|