BAT / README.md
aiyubali's picture
Update README.md
206d18b verified
# 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
```