Dynastie/README

35 lines
1.3 KiB
Plaintext
Raw Permalink Normal View History

2013-02-07 18:51:57 +01:00
Dynastie is static blog generator delivered under GPL v3 licence terms.
2016-06-05 09:19:02 +02:00
Current version is 0.5
2013-02-07 18:51:57 +01:00
Requirements :
2015-09-21 19:05:25 +02:00
Django >= 1.8, libapache2-mod-wsgi if you want to use Dynastie with Apache. PyGments (Optional).
2013-02-07 18:51:57 +01:00
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
2013-02-07 18:51:57 +01:00
Then you can create users*, blog, categories, posts and generate your blog !
2013-02-07 18:51:57 +01:00
*Be careful : $(blog.name) must be an URI like "blog.soutade.fr", it will be used like this in some parts of Dynastie.
2013-02-07 18:51:57 +01:00
2016-05-22 10:29:42 +02:00
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.
2013-02-07 18:51:57 +01:00
More information can be found at http://indefero.soutade.fr/p/dynastie