awtkns / bdc

STEM Fellowship Big Data Challenge 2020: Using big data to analyse the effectiveness of diagnostic and treatment modalities for breast and prostate cancer in countries with variable levels of development.

Home Page:https://bdc.wtkns.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BDC 2020

Node.js CI API

Use conda to install requirements.

conda env create -f env.yml
conda activate bdc

Build and Run Backend

Make sure you are in your bdc conda env, or have installed the requirements with pip. First set some environment variables.

# linux
$ export FLASK_ENV=development

# windows
$ set FLASK_ENV=development

Now run the backend server.

$ cd backend
$ flask run

Build and Run Frontend

Make sure you have NodeJs 14.3.0 (12.16.3 should also work). If you installed the conda env then you have already installed nodejs.

$ cd frontend

# install dependencies
$ npm install

# serve with hot reload at localhost:3000
$ npm run dev

Deployment

The frontend is automatically built and served after every push to master. It can be found here.

Currently the backend is being hosted on a google compute engine server. To update the app make sure you have access to the server. To update and start the backend.

$ cd /home/bdc
$ sudo git pull
$ sudo docker-compose up --build -d

About

STEM Fellowship Big Data Challenge 2020: Using big data to analyse the effectiveness of diagnostic and treatment modalities for breast and prostate cancer in countries with variable levels of development.

https://bdc.wtkns.dev


Languages

Language:Jupyter Notebook 63.7%Language:Vue 14.0%Language:R 10.0%Language:Python 5.5%Language:TeX 4.5%Language:JavaScript 2.1%Language:Dockerfile 0.2%