Scaffold the contigs!
Test the server
Please make sure that redis is up and running. Also, put in the "static" directory a 3.x version of bootstrap and jquery.min.js in the static/js directory. Create a directory called medusa-app, with the medusa.jar file and the medusa_scripts folder inside. Also, make sure that you have the atd deamon running (used for job queue handling)
virtualenv venv source venv/bin/activate pip install -r requirements.txt python medusa.py
That's it! Open a browser on the same machine and got to 127.0.0.1:5000
First, install all the dependencies
sudo pip install -r requirements.txt
Then install in apache the medusa.conf file (changing the paths). NOTE: if you have multiplt webservers running, the best way to have them running at the same time seems to include all the WSGI definitions in the same VirtualHost.
Create a production.py file which can then be used to override the settings.py debug options.
You may want to tweak the atd deamon parameters to change the load and delay scheduling (tested on Debian 3.16)
sudo vim /lib/systemd/system/atd.service
And then introduce the following edits:
[Service] ExecStart= ExecStart=/usr/sbin/atd -f -l LOAD -b 1
LOAD is your desired load threshold to start new jobs
Reload the configuration and restart the service:
sudo systemctl daemon-reload sudo systemctl restart atd sudo systemctl status atd
Restart apache and start redis.
To update the server once the upstream repository has been updated, just run git pull and the restart apache.
Edit the mail_log.py file to setup the error logging through email.
You may also want to set up a cron job to wipe out the uploads directly every now and then