Skip to content

ElofssonLab/web_proq3

Repository files navigation

Web server for ProQ3

Installation

  1. Install dependencies for the web-server

  2. Install the virtual environments by

    $ bash setup_virtualenv.sh
    

    If your system is CentOS6, you need also run

    $ bash install_python2.7.sh
    

    to install python2.7 to the virtual environment

  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