# BAT_Master Live Project Deployment (Main Branch) This guide provides step-by-step instructions to deploy the `BAT_Master` project from the `dev` branch. --- ## 📂 Branch Structure - **MAIN Branch**: Stable base code --- ## 🔧 System Setup & Prerequisites Run the following commands to update the system and install required packages: ```bash sudo apt update && sudo apt upgrade -y sudo apt-get install -y iproute2 libgl1 nano wget unzip nvtop git git-lfs ``` --- ## 📥 Clone the Repository ```bash git clone https://huggingface.co/aiyubali/BAT cd BAT ``` --- ## 🚀 Initial Deployment ```bash chmod +x deploy.sh ./deploy.sh sleep 10 python test.py ``` --- ## 🔄 Re-deployment (if needed) ```bash chmod +x reDeploy.sh ./reDeploy.sh sleep 10 python test.py ``` --- ## 🌐 Start the API Server ```bash cd BAT_Master python BAT_API.py hypercorn BAT_API:app --bind 127.0.0.1:8679 --workers 2 ```