Steps:
- Install Docker on your device
- Install all the necessary dependencies to run the APIs
pip3 install flask flask_api flask_cors requests pymongo numpy pandas
- Install npm and nodejs
- Run
npm start
inside the frontend directory - Pull mongo image from DockerHub
docker pull mongo
- Run docker container for mongo
docker run -p 27017:27017 mongo
- Inside the backend directory run:
python3 uac/uac.py
python3 user/user.py
Steps:
-
Install Docker on your device
-
Go into
base_builder
directorycd base_builder
-
Build the base image
docker build -t wtbase .
-
Go back to the parent directory
-
Build the Server images:
cd ./backend/auth docker build -t uac . cd ../.. cd ./backend/classifier docker build -t classifier . cd ../.. cd ./backend/eda docker build -t eda . cd ../.. cd ./backend/user docker build -t user . cd ../..
-
Build the front-end image
cd ./frontend && docker build -t frontend . && cd ..
-
Go to the deployments folder and run the docker compose file.
cd ./deployment && docker-compose up
-
Access the front-end at http://localhost:3000/