wood chen 315933d57a Refactor model type handling and add SQLite support
- Update config to include SQLite path for database migration
- Modify model type handlers to use new database schema
- Update frontend to handle new model type key and label fields
- Add database migration script to start process
- Import SQLite driver for potential database usage
2025-02-23 04:23:42 +08:00

13 lines
201 B
Bash

#!/bin/bash
# 执行数据库迁移
echo "执行数据库迁移..."
./migrate
# 启动后端服务
echo "启动后端服务..."
./main &
# 启动 nginx
echo "启动 Nginx..."
nginx -g 'daemon off;'