-
Notifications
You must be signed in to change notification settings - Fork 6
Home
Welcome to the moerderspiel wiki!
Packages needed: apache2 libapache2-mod-wsgi
Take an Apache with mod_wsgi enabled. Put the moerderspiel files in some virtual host's DocumentRoot where AllowOverride is enabled (a subdir of a DocumentRoot might also work, but is not tested yet).
Here's a sample Virtual Host Config:
<VirtualHost IP.ADD.RE.SS:80>
ServerAdmin user@host.name
ServerName moerder.host.name
DocumentRoot /path/to/moerderspiel/
Options ExecCGI Includes MultiViews SymLinksIfOwnerMatch
AddDefaultCharset utf-8
IndexOptions +SuppressHTMLPreamble
HeaderName /.header.html
ErrorLog /var/log/apache2/host.name-error.log
CustomLog /var/log/apache2/host.name-access.log combined
WSGIDaemonProcess moerderspiel user=USER group=GROUP threads=2
WSGIScriptAlias / /path/to/moerderspiel/moerderspiel.wsgi
<Directory /path/to/moerderspiel>
AllowOverride All
WSGIProcessGroup moerderspiel
WSGIApplicationGroup %{GLOBAL}
WSGIScriptReloading On
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
Needed non-standard Python modules: genshi, yapgvb, twython, dateutil, email, smtplib
Needed debian/ubuntu packages: python-dateutil python-genshi python-yapgvb texlive-xetex ttf-sil-gentium graphviz
Some python modules may not be packaged for your distribution (I suspect yapgvb
and twython
). Use pip
(from package python-pip) to install these modules. If you find yapgvb
packaged for using the Boost lib, use it (this means less bugs in the graph generation).
# pip install twython
# pip install yapgvb