Skip to content
This repository has been archived by the owner on Sep 3, 2022. It is now read-only.
/ nhsx_android Public archive
forked from aunroel/nhs_app

NHS Federated ML application

Notifications You must be signed in to change notification settings

YichaoXu/nhsx_android

Repository files navigation

NHS Federated ML appliation

Requisites

CI/CD Python Federated ML
  • Docker | * Python 3.6 | * Tensorflow

Development

For using both server and client side in development run both concurrently (in different terminals).

Running client

Worklfow is the same for windows and unix

Install (first time)

  1. Install node.js
  2. Install 'nodemon' globally. It is package enabling live-reload of the client server.
    npm install -g nodemon
    
  3. Install all node dependencies
    cd client
    npm install
    

Run

cd client
nodemon start

Running server

Install (first time)

Create virtual environment and install dependencies.

Install Docker on your machine

Unix
python3 -m venv flaskenv
source flaskenv/bin/activate
pip install -r requirements.txt
PowerShell
py -3 -m venv flaskenv
flaskenv\Scripts\activate
pip install -r requirements.txt

Run

Unix
docker-compose up
source flaskenv/bin/activate
export FLASK_APP=app.py
export FLASK_ENV=development
flask run
PowerShell

Run .\runApp.ps1 or:

docker-compose up
flaskenv\Scripts\activate
$env:FLASK_APP = "app.py"
$env:FLASK_ENV = "development"
flask run

Once you finish working on the project, run docker-compose down to stop the Docker container with local database.

Project contributors:

Marta Smigielska, Davinder Bassan, Najat Baqadir, Sam Xu, Yiren Zhang, Roman Matios, Wojciech Golaszewski

iOS Android Backend
Davinder Bassan Sam Xu Marta Smigielska
Najat Baqadir Yiren Zhang Wojciech Golaszewski
Roman Matios

About

NHS Federated ML application

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 70.6%
  • Kotlin 29.4%