Files
wwjcloud-nest-v1/tools-v1/scripts/dev-start.sh
wanwujie b5826ee469 feat: 发布 v1 智能框架 0.1.0 版本
🚀 新增功能:
- wwjcloud-nest-v1: 完整的 NestJS 智能框架
- AI 自愈机制: @wwjcloud/auto-healing 模块
- 智能代码生成: tools-v1/php-tools 迁移工具链
- AI 能力规划: v1/docs/AI-CAPABILITY-ROADMAP.md

📦 核心模块:
- libs/wwjcloud-ai: AI 策略和恢复服务
- libs/wwjcloud-boot: 启动和配置管理
- libs/wwjcloud-core: 核心基础设施
- libs/wwjcloud-addon: 插件系统

🏗️ 架构特性:
- 分层渐进式 AI 策略
- 微服务导向的模块化设计
- 与 PHP 项目 100% 业务一致性
- Docker 容器化部署支持

📋 版本信息:
- 版本: v0.1.0
- 发布日期: 2025-01-25
- 分支: v1
2025-10-19 19:55:52 +08:00

22 lines
816 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/usr/bin/env bash
set -euo pipefail
# tools-v1/apps-api 开发快速启动脚本
# 用法bash tools-v1/scripts/dev-start.sh [ENV_FILE]
# 默认为 tools-v1/env/apps-api.development.example
ENV_FILE=${1:-tools-v1/env/apps-api.development.example}
if [ ! -f "$ENV_FILE" ]; then
echo "[ERROR] ENV file not found: $ENV_FILE" >&2
exit 1
fi
# shellcheck disable=SC1090
set -a
source "$ENV_FILE"
set +a
echo "[INFO] Starting apps/api with ENV: $ENV_FILE"
# 注意:在 wwjcloud-nest-v1 目录下启动 apps/api
bash -lc 'NODE_ENV=${NODE_ENV:-development} JWT_SECRET=${JWT_SECRET:-dev-secret} AI_ENABLED=${AI_ENABLED:-true} AUTH_ENABLED=${AUTH_ENABLED:-true} RBAC_ENABLED=${RBAC_ENABLED:-false} GLOBAL_PREFIX=${GLOBAL_PREFIX:-api} QUEUE_ENABLED=${QUEUE_ENABLED:-false} PORT=${PORT:-3001} npm run start -- api'