- Monorepo: NestJS API (Fastify) + React web (antd/ProComponents) + shared packages - PostgreSQL/Prisma (unified resources, relations graph, audit, events, jobs) - Auth/RBAC/workspace isolation, credential vault (AES-256-GCM) - Servers/SSH, Docker discovery & lifecycle, Job Center - Websites & deployments (git provider credential clone, env, health verification) - Domains/DNS (Cloudflare adapter), certificates (TLS probe), monitoring - Automation (cron/event/webhook HMAC + notifications), AI Gateway, MCP (29 tools) - AI chat window (LLM function-calling + rules fallback, SSE streaming, approvals) - Notes: Vditor WYSIWYG markdown editor, non-blocking autosave - Tests: 35 unit/security tests; UI audit clean (desktop+mobile, deep links)
8 lines
308 B
Bash
Executable File
8 lines
308 B
Bash
Executable File
#!/bin/bash
|
||
# 启动 DevOS API(记录 PID)
|
||
cd "$(dirname "$0")/.."
|
||
if [ -f /tmp/devos-api.pid ]; then kill "$(cat /tmp/devos-api.pid)" 2>/dev/null; sleep 1; fi
|
||
PORT=4100 nohup bun apps/api/dist/main.js > /tmp/devos-api.log 2>&1 &
|
||
echo $! > /tmp/devos-api.pid
|
||
echo "started pid $(cat /tmp/devos-api.pid)"
|