Commit
·
740af5b
1
Parent(s):
1dba7aa
Update README.md
Browse files
README.md
CHANGED
|
@@ -228,14 +228,15 @@ The updated system features a completely redesigned multi-tab interface:
|
|
| 228 |
|
| 229 |
## 🛠 Deployment & Operation
|
| 230 |
|
| 231 |
-
### **Docker Deployment**
|
| 232 |
```bash
|
| 233 |
-
#
|
| 234 |
-
docker
|
| 235 |
-
|
| 236 |
```
|
| 237 |
|
| 238 |
### **Local Development**
|
|
|
|
| 239 |
```bash
|
| 240 |
# Install dependencies
|
| 241 |
pip install -r requirements.txt
|
|
@@ -247,6 +248,13 @@ python initialize_system.py
|
|
| 247 |
./start.sh
|
| 248 |
```
|
| 249 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 250 |
### **Health Monitoring**
|
| 251 |
The system includes comprehensive health checks:
|
| 252 |
* API endpoint monitoring at `/health`
|
|
|
|
| 228 |
|
| 229 |
## 🛠 Deployment & Operation
|
| 230 |
|
| 231 |
+
### **Pre-built Docker Image Deployment**
|
| 232 |
```bash
|
| 233 |
+
# Run this Space with Docker
|
| 234 |
+
docker run -it -p 7860:7860 --platform=linux/amd64 \
|
| 235 |
+
registry.hf.space/ahmedik95316-end-to-end-fake-news-detection-syst-7d32f4f:latest
|
| 236 |
```
|
| 237 |
|
| 238 |
### **Local Development**
|
| 239 |
+
***Method 1 : Using Shell Script***
|
| 240 |
```bash
|
| 241 |
# Install dependencies
|
| 242 |
pip install -r requirements.txt
|
|
|
|
| 248 |
./start.sh
|
| 249 |
```
|
| 250 |
|
| 251 |
+
***Method 2 : Using Docker To Build and Run the Image***
|
| 252 |
+
```bash
|
| 253 |
+
# Build and run the complete system
|
| 254 |
+
docker build -t fake-news-detector .
|
| 255 |
+
docker run -p 7860:7860 -p 8000:8000 fake-news-detector
|
| 256 |
+
```
|
| 257 |
+
|
| 258 |
### **Health Monitoring**
|
| 259 |
The system includes comprehensive health checks:
|
| 260 |
* API endpoint monitoring at `/health`
|