Go to file
Gregory Soutade 4b642fa48a Fix some bugs:
* Don't use cached objects if file has been removed
	* Replace subblock node with all of this nodes instead of appending them at the end of parent (respect order)
	* Disable Post cache cause it generates some random errors
	* Don't forget to update cur page number, even if Post creation has failed
2020-03-20 16:55:23 +01:00
dynastie Fix some bugs: 2020-03-20 16:55:23 +01: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
apache_dynastie.conf Update to Django 1.8 + various changes 2015-09-21 19:05:25 +02:00
AUTHORS 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
COPYING Add COPYING README and AUTHORS 2013-02-07 18:51:57 +01:00
manage.py Add manage.py to package 2014-02-02 08:53:08 +01:00
README Update version and ChangeLog 2016-06-05 09:19:02 +02:00

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