- Operating System: macOS or Linux
- Python: Version 3.9 or higher
- CMake: Version 3.2.0 or higher
- GCC: Any version (used version in analysis: 9.2.0)
- R: With the following packages:
data.tablefeather
-
Create and Activate a Virtual Environment in the main Directory
Ensure that your terminal is in dashboard-cm directory
Create a virtual enviroment:
python -m venv env
OR
python3 -m venv env
Activate the enviroment:
source env/bin/activate -
Initialize and Update Submodule
The repository includes a submodule cm_pipeline that needs initialization.
Ensure your terminal is in the cm_pipeline directory:
cd cm_pipelineInitialize the submodule:
git submodule init
Update the submodule:
git submodule update
-
Install cm_pipeline Requirements
Navigate to the
cm_pipelinedirectory:Install the requiremnts
pip install -r requirements.txt
-
Install API Requirements
Navigate to the
apidirectory:Install the requiremnts
pip install -r requirements.txt
-
Run the Backend Server Locally
Within the
apidirectory, start the backend server:uvicorn main:app --reload
Now your environment is set up and the backend server should be running locally.
-
Run the Interface Server Locally
Navigate to the
interface_protoypedirectoryInstall the requiremnts
pip install -r requirements.txt
streamlit run home.py
Now the interface server should be running locally.