This is the web-server implementation of the SubCons workflow.
The web-server is developed with Django 2.2.7+ and Python 3.6+
This software is open source and licensed under the MIT license
The SubCons web-server: A user friendly web interface for state-of-the-art subcellular localization prediction. Salvatore, M., Shu, N., Elofsson, A. Protein Sci. 2018 Jan;27(1):195-201 PubMed
Nanjiang Shu
System developer at NBIS
Email: nanjiang.shu@scilifelab.se
-
Install dependencies for the web server
- Apache
- mod_wsgi
-
Install the virtual environments by
$ bash setup_virtualenv.sh
-
Create the django database db.sqlite3
-
Run
$ bash init.sh
to initialize the working folder
-
In the folder
proj, create a softlink of the setting script.For development version
$ ln -s dev_settings.py settings.pyFor release version
$ ln -s pro_settings.py settings.pyNote: for the release version, you need to create a file with secret key and stored at
/etc/django_pro_secret_key.txt -
On the computational node. run
$ virtualenv env --system-site-packagesto make sure that python can use all other system-wide installed packages