Skip to content

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.

awtkns/bdc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •