Running Locally
- This repo is split into 3 parts - the chat frontend, the chat backend and the python server
git clone https://github.com/vaibhavraj-exe/sentinel
cd sentinel
Running the python server
- Install Erlang (opens in a new tab)
- Install RabbitMQ (opens in a new tab)
-
- Run RabbitMQ after it gets installed
cd server/services
pip install -r requirements.txt
uvicorn server:app --host=0.0.0.0 --port=8000
# create another terminal
cd models/link_detection
python main.py
# create another terminal
cd models/video_detection
python main.py
# create another terminal
cd models/profanity_detection
python main.py
# Install nodejs beforehand
Running the chat-app frontend
cd chat/frontend
npm i
npm run build
npm start
Running the chat-app backend
cd chat/backend
npm i
node .