-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathauto_start_all.bat
More file actions
47 lines (40 loc) · 1.17 KB
/
auto_start_all.bat
File metadata and controls
47 lines (40 loc) · 1.17 KB
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
45
46
47
@echo off
setlocal enabledelayedexpansion
REM ==========================
REM SQLMAP SKYNET v1.2.0
REM Auto Start: UI + MCPFast
REM ==========================
REM 1) Create venv if missing
if not exist ".\.venv\Scripts\python.exe" (
echo [*] Creating virtual environment: .venv
py -3.12 -m venv .venv
if errorlevel 1 (
echo [!] Failed to create venv. Install Python 3.12+ and try again.
pause
exit /b 1
)
)
REM 2) Activate venv
call .\.venv\Scripts\activate.bat
REM 3) Install deps from requirements.txt
if not exist ".\.venv\.deps_installed" (
echo [*] Installing dependencies from requirements.txt ...
python -m pip install -U pip
pip install -r requirements.txt
if errorlevel 1 (
echo [!] Failed to install requirements.txt
pause
exit /b 1
)
type nul > ".\.venv\.deps_installed"
)
REM 4) Start SKYNET Dashboard
start "SKYNET-DASHBOARD" cmd /k python main.py --host 127.0.0.1 --port 1337 --debug
REM 5) Start MCP Server (HTTP)
start "SKYNET-MCP" cmd /k fastmcp run .\mcp\server.py:mcp --transport http --host 127.0.0.1 --port 8055
echo.
echo Started:
echo - Dashboard: http://127.0.0.1:1337
echo - MCP: http://127.0.0.1:8055/mcp
echo.
pause