This package includes most of the server contents on Plant genome duplication database (except the database connector script for security reasons). Contains scripts
, templates
, css
and images
folder.
Apache configuration. mod_python is required for this to run on your server. You might also need to change
apache2.conf
to allowmod_python.publisher
to treat your scripts as python scripts:## For Bao's mod_python stuff <Directory "/var/www/duplication/"> AddHandler mod_python .py PythonHandler mod_python.publisher PythonDebug On </Directory> <Directory "/var/www/duplication/scripts/"> AddHandler mod_python .py PythonHandler mod_python.publisher PythonDebug On </Directory> <Directory "/var/www/duplication/images/"> SetHandler None </Directory> <Directory "/var/www/duplication/css/"> SetHandler None </Directory>
MySQL databases. Look at the database connector script in
scripts/preferences.py
. The default database name isbao
and two tablesloci
andblock
with the schema documented here.