aiyubali commited on
Commit
206d18b
ยท
verified ยท
1 Parent(s): 6d0b6af

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +61 -6
README.md CHANGED
@@ -1,6 +1,61 @@
1
- MAIN Branch ==>> dev Live
2
- Project : BAT_Master ==>> dev
3
- sudo apt update && sudo apt upgrade -y && sudo apt-get install -y iproute2 libgl1 && sudo apt-get install -y nano wget unzip nvtop git git-lfs && git clone -b dev https://huggingface.co/HawkEyesAI/BAT_Master && cd BAT_Master && chmod +x deploy.sh && ./deploy.sh && sleep 10 && python test.py
4
- chmod +x reDeploy.sh && ./reDeploy.sh && sleep 10 && python test.py
5
- cd BAT_Master && python BAT_API.py
6
- hypercorn BAT_API:app --bind 127.0.0.1:8679 --workers 2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # BAT_Master Live Project Deployment (Main Branch)
2
+
3
+ This guide provides step-by-step instructions to deploy the `BAT_Master` project from the `dev` branch.
4
+
5
+ ---
6
+
7
+ ## ๐Ÿ“‚ Branch Structure
8
+
9
+ - **MAIN Branch**: Stable base code
10
+
11
+ ---
12
+
13
+ ## ๐Ÿ”ง System Setup & Prerequisites
14
+
15
+ Run the following commands to update the system and install required packages:
16
+
17
+ ```bash
18
+ sudo apt update && sudo apt upgrade -y
19
+ sudo apt-get install -y iproute2 libgl1 nano wget unzip nvtop git git-lfs
20
+ ```
21
+
22
+ ---
23
+
24
+ ## ๐Ÿ“ฅ Clone the Repository
25
+
26
+ ```bash
27
+ git clone https://huggingface.co/aiyubali/BAT
28
+ cd BAT
29
+ ```
30
+
31
+ ---
32
+
33
+ ## ๐Ÿš€ Initial Deployment
34
+
35
+ ```bash
36
+ chmod +x deploy.sh
37
+ ./deploy.sh
38
+ sleep 10
39
+ python test.py
40
+ ```
41
+
42
+ ---
43
+
44
+ ## ๐Ÿ”„ Re-deployment (if needed)
45
+
46
+ ```bash
47
+ chmod +x reDeploy.sh
48
+ ./reDeploy.sh
49
+ sleep 10
50
+ python test.py
51
+ ```
52
+
53
+ ---
54
+
55
+ ## ๐ŸŒ Start the API Server
56
+
57
+ ```bash
58
+ cd BAT_Master
59
+ python BAT_API.py
60
+ hypercorn BAT_API:app --bind 127.0.0.1:8679 --workers 2
61
+ ```