Files
wwjcloud-nest-v1/wwjcloud/scripts/start.sh
wanwu 8da4047110 feat: v0.3.3 - 清理代码结构,删除common层,保留core层企业级基础设施
- 删除common层业务代码(将通过real-business-logic-generator.js重新生成)
- 清理重复的core层生成工具
- 保留完整的企业级core层基础设施(Security/Cache/Tracing/Event/Queue/Health)
- 版本号升级到0.3.3
- 项目架构现已完整,接下来专注优化PHP到TypeScript语法转换
2025-09-27 03:28:46 +08:00

31 lines
544 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.
#!/bin/bash
# 启动脚本
# 创建时间: 2025-09-24T07:01:13.006Z
echo "🚀 启动WWJCloud应用..."
# 检查Node.js是否安装
if ! command -v node &> /dev/null; then
echo "❌ Node.js未安装请先安装Node.js"
exit 1
fi
# 检查npm是否安装
if ! command -v npm &> /dev/null; then
echo "❌ npm未安装请先安装npm"
exit 1
fi
# 安装依赖
echo "📦 安装依赖..."
npm install
# 构建应用
echo "🔨 构建应用..."
npm run build
# 启动应用
echo "🚀 启动应用..."
npm run start:prod