-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun.sh
More file actions
44 lines (22 loc) · 808 Bytes
/
run.sh
File metadata and controls
44 lines (22 loc) · 808 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/bin/bash
echo "========================================"
echo "VFS Appointment Bot - بوت مواعيد VFS"
echo "========================================"
echo ""
# التحقق من وجود Python
if ! command -v python3 &> /dev/null; then
echo "❌ Python غير مثبت! يرجى تثبيت Python أولاً"
exit 1
fi
# التحقق من تثبيت المكتبات
echo "التحقق من المكتبات المطلوبة..."
if ! python3 -c "import playwright" &> /dev/null; then
echo "تثبيت المكتبات المطلوبة..."
pip3 install -r requirements.txt
playwright install chromium
fi
# تشغيل البوت
echo ""
echo "🚀 بدء تشغيل البوت..."
echo ""
python3 run_vfs_bot.py