Backend code and configuration for MF-DAT
Open TODO.md for a list of tasks
Be sure you are running a copy of Ubuntu Linux for consistency when developing.
- Clone this repository. You can just run
git clone https://github.com/NGG-Group-CS320/Backend.git
in terminal. - Copy the
config.py
file from the shared Google Drive directory into theBackend/src/
directory. - Run the following commands to install the necessary dependencies.
# Install psycopg2 python package so queries can be made to postgres DB
sudo apt-get install python3-psycopg2
# Install numpy python package for data manipulation
sudo apt-get install python3-numpy
# Install the python package for the webserver
pip3 install Flask
Run python3 src/health_score.py
in the terminal to run the script to compute health scores.