mskcc / igo-qc

3 stars 0 forks source link

igo-qc

Contents

Description

Site displaying run statistics of sequencing projects (E.g. GATK Picard, Cell Ranger, etc.).

Features

Development Notes

After setting up Mongo, Backend, & Frontend (in that order), the igo-qc app should be available at localhost:3000

Mongo

WRITE_DATA_HERE=...
mongod --dbpath=${WRITE_DATA_HERE}

Backend

  1. Update lims_user_config_prod with what is available on dev/prod. We need the values for username, password, & secret_key. Note - This is copied into lims_user_config on make run-prod. On the host, see /srv/www/new-igo-qc/app/lims_user_config.

    scp igo.mskcc.org:/srv/www/new-igo-qc/app/lims_user_config lims_user_config_prod
  2. Install virtual environment

    Python 2

    # pip install virtualenv    # If not already installed
    $ virtualenv venv

    Python 3

    # pip3 install virtualenv   # If not already installed
    python3 -m venv venv
  3. Install Dependencies

    $ source venv/bin/activate
    (venv) $ pip install -r requirements.txt
    (venv) $ make run

    Note - make run-prod is a Makefile command. If there are issues w/ this step, please review the run-prod step of the Makefile

Frontend

cd static/seq-qc/
npm install && npm run start

Troubleshooting

Mongo

Deployment Steps

HOST=igo.mskcc.org  # Production
# HOST=dlviigoweb1  # Development
make HOST=${HOST} deploy

Notes: