Skip to content

ElofssonLab/web_subcons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web-server for SubCons

Description

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

Reference

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

Author

Nanjiang Shu

System developer at NBIS

Email: [email protected]

Installation

  1. Install dependencies for the web server

    • Apache
    • mod_wsgi
  2. Install the virtual environments by

    $ bash setup_virtualenv.sh

  3. Create the django database db.sqlite3

  4. Run

    $ bash init.sh

    to initialize the working folder

  5. In the folder proj, create a softlink of the setting script.

    For development version

     $ ln -s dev_settings.py settings.py
    

    For release version

     $ ln -s pro_settings.py settings.py
    

    Note: for the release version, you need to create a file with secret key and stored at /etc/django_pro_secret_key.txt

  6. On the computational node. run

    $ virtualenv env --system-site-packages
    

    to make sure that python can use all other system-wide installed packages