Go to file
Gregory Soutade 27bd360abe Add output language support 2022-10-08 16:08:02 +02:00
dynastie Add output language support 2022-10-08 16:08:02 +02:00
misc Add fail2ban filter 2016-05-22 10:28:58 +02:00
.gitignore Do things in a more python way 2014-09-24 20:27:27 +02:00
AUTHORS Add COPYING README and AUTHORS 2013-02-07 18:51:57 +01:00
COPYING Add COPYING README and AUTHORS 2013-02-07 18:51:57 +01:00
ChangeLog Update version and ChangeLog 2016-06-05 09:19:02 +02:00
README Update version and ChangeLog 2016-06-05 09:19:02 +02:00
apache_dynastie.conf Update to Django 1.8 + various changes 2015-09-21 19:05:25 +02:00
manage.py Update site for w3c standards 2022-09-18 17:22:57 +02:00

README

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