35 lines
1.3 KiB
Plaintext
35 lines
1.3 KiB
Plaintext
Dynastie is static blog generator delivered under GPL v3 licence terms.
|
|
|
|
Current version is 0.5
|
|
|
|
Requirements :
|
|
Django >= 1.8, libapache2-mod-wsgi if you want to use Dynastie with Apache. PyGments (Optional).
|
|
|
|
Installation :
|
|
* Download Dynastie
|
|
* Update dynastie/wsgy.py (with $PWD/../) don't forget the final slash !
|
|
* Update dynastie/settings.py (SECRET_KEY...)
|
|
* Run ./manage.sh syncdb and create a superuser
|
|
* Run ./manage.sh runserver 0.0.0.0:8080
|
|
or
|
|
* Copy (and edit) apache_dynastie.conf in /etc/apache2/sites-available, and create a symbolic link from /etc/apache2/sites-enabled to /etc/apache2/sites-available
|
|
|
|
Then you can create users*, blog, categories, posts and generate your blog !
|
|
|
|
*Be careful : $(blog.name) must be an URI like "blog.soutade.fr", it will be used like this in some parts of Dynastie.
|
|
|
|
Misc directory :
|
|
* ljdc.perl : A script to get GIF from http://lesjoiesducode.fr and http://thecodinglove.com/
|
|
* apache-dynastie.conf : Filter for fail2ban. Install it in /etc/fail2ban/filter.d and add to /etc/fail2ban/jail.local :
|
|
[apache-dynastie]
|
|
|
|
enabled = true
|
|
port = http,https
|
|
filter = apache-dynastie
|
|
logpath = /var/log/apache*/*error.log
|
|
maxretry = 1
|
|
|
|
Then, restart fail2ban service.
|
|
|
|
More information can be found at http://indefero.soutade.fr/p/dynastie
|