Scaffold the contigs!
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 contiguator-app, with the CONTIGuator.py file (web branch) and the abacas script.
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
python contiguator.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 contiguator.conf file (changing the paths). NOTE: if you have multiple 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
sudo systemctl edit atd
And then introduce the following edits:
[Service]
ExecStart=
ExecStart=/usr/sbin/atd -f -l LOAD -b 1
Where LOAD
is your desired load threshold to start new jobs
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