Clone the source:
git clone https://github.com/pypingou/fedocal.git
Copy the configuration file:
cp fedocal.cfg.sample fedocal.cfg
Adjust the configuration file (secret key, database URL, admin group...). See doc:`configuration`_ for detailed information about the configuration.
Create the database scheme:
python fedocal/fedocallib/model.py
Start by installing mod_wsgi:
yum install mod_wsgi
Then configure apache:
sudo vim /etc/httd/conf.d/wsgi.conf
and put in this file:
WSGIScriptAlias /fedocal /var/www/wsgi/fedocal.wsgi <Directory /var/www/wsgi/> Order deny,allow Allow from all </Directory>
Then create the file /var/www/wsgi/fedocal.wsgi with:
import fedocal application = fedocal.APP
Then restart apache and you should be able to access the website on http://localhost/fedocal
Then restart apache and you should be able to access the website on http://localhost/fedocal
See doc:development if you want to run fedocal just to test it.