- Updated .env.example to reflect new LLM configuration with Aliyun's API. - Enhanced .gitignore to include additional files and directories for better exclusion of sensitive and build artifacts. - Added docker-compose.yml for streamlined deployment of backend and frontend services. - Introduced Dockerfiles for both backend and frontend to facilitate containerized builds. - Created README.md to provide comprehensive project documentation and setup instructions. - Established nginx configuration for frontend to support API proxying and static file serving.
20 lines
702 B
JSON
20 lines
702 B
JSON
{
|
|
"name": "mirofish",
|
|
"version": "1.0.0",
|
|
"description": "MiroFish - 简洁通用的群体智能引擎,预测万物",
|
|
"scripts": {
|
|
"setup": "npm install && cd frontend && npm install",
|
|
"setup:backend": "cd backend && uv venv && uv pip install -r requirements.txt",
|
|
"setup:all": "npm run setup && npm run setup:backend",
|
|
"dev": "concurrently -n \"backend,frontend\" -c \"yellow,cyan\" \"npm run backend\" \"npm run frontend\"",
|
|
"backend": "cd backend && uv run python run.py",
|
|
"frontend": "cd frontend && npm run dev",
|
|
"build": "cd frontend && npm run build"
|
|
},
|
|
"devDependencies": {
|
|
"concurrently": "^9.1.2"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
}
|
|
}
|