To run AROhI, we need to install Python 3 environment. The current version has been tested on Python 3.10. It is recommended to install Python virtual environment for the tool. Below are step-by-step instructions to set up the environment and run the tool.
-
Clone this repository and move to the directory:
cd ROI_tool
-
Run this on the command line to create and activate a virtual environment
python3 -m venv venv source venv/bin/activate
To update pip on Python, use the following command:
python3 -m pip install --upgrade
You can also follow the Python documentation to install a virtual environment on your machine.
-
Install all the dependencies and run React App @ localhost:3000
cd client npm install npm start
-
To run Flask App @ localhost:5000
cd backend python3 application.py
Make sure no other application runs on any of these two hosts. The website has been programmed to run on localhost:3000 and localhost:5000 automatically.
-
The dataset for testing the tool is accessible in the dataset folder of the repository.
cd dataset
Step 1 - Login
Step 2 - File Upload
Step 3 - ML Analytics
Step 4 - ROI Analytics