refactor: restructure chat-vault to services architecture

This commit is contained in:
tukuaiai
2025-12-29 06:28:04 +08:00
parent 1414b45a1b
commit 318ae2b416
178 changed files with 54738 additions and 307 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
# 构建所有服务
set -e
echo "Building all services..."
for dir in services/*/; do
echo "Building $dir"
# docker build -t "${dir%/}" "$dir"
done
echo "Done!"
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
# 部署脚本
set -e
echo "Deploying..."
# docker-compose up -d
echo "Done!"
-3
View File
@@ -1,3 +0,0 @@
#!/bin/bash
cd "$(dirname "$0")/../src"
python3 main.py
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
# 测试所有服务
set -e
echo "Testing all services..."
for dir in services/*/; do
echo "Testing $dir"
# cd "$dir" && pytest tests/
done
echo "Done!"
-3
View File
@@ -1,3 +0,0 @@
#!/bin/bash
cd "$(dirname "$0")/../src"
python3 main.py --watch