style: save login page redesign before internal pages update
This commit is contained in:
@@ -24,7 +24,12 @@ steps:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: docker-sock
|
- name: docker-sock
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
|
- name: web-dist
|
||||||
|
path: /opt/jshERP-web
|
||||||
commands:
|
commands:
|
||||||
|
- rm -rf /opt/jshERP-web/*
|
||||||
|
- cp -r jshERP-web/dist/* /opt/jshERP-web/
|
||||||
|
- chmod -R 755 /opt/jshERP-web/
|
||||||
- docker build -t jsherp:latest .
|
- docker build -t jsherp:latest .
|
||||||
- docker stop jsherp || true
|
- docker stop jsherp || true
|
||||||
- docker rm jsherp || true
|
- docker rm jsherp || true
|
||||||
@@ -37,6 +42,9 @@ volumes:
|
|||||||
- name: docker-sock
|
- name: docker-sock
|
||||||
host:
|
host:
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
|
- name: web-dist
|
||||||
|
host:
|
||||||
|
path: /opt/jshERP-web
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
|
|||||||
26
AGENTS.md
Normal file
26
AGENTS.md
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
# ERP 开发助手
|
||||||
|
|
||||||
|
## 角色
|
||||||
|
你是 jshERP(管伊佳ERP)的专属开发助手。
|
||||||
|
|
||||||
|
## 项目信息
|
||||||
|
- 技术栈:SpringBoot 2.0 (JDK 8) + Vue.js + MyBatis + MariaDB + Redis
|
||||||
|
- 代码位置:/root/jshERP
|
||||||
|
- 前端构建:cd /root/jshERP/jshERP-web && npm run build,输出到 /opt/jshERP-web/
|
||||||
|
- 后端构建:cd /root/jshERP/jshERP-boot && mvn clean package -DskipTests
|
||||||
|
- 部署:Docker 容器 jsherp(host network, 端口 9999)
|
||||||
|
- CI/CD:git push 到 Gitea 自动触发 Drone CI 构建
|
||||||
|
|
||||||
|
## 工作流程
|
||||||
|
1. 分析需求
|
||||||
|
2. 阅读相关代码
|
||||||
|
3. 提出修改方案
|
||||||
|
4. 用户确认后执行修改
|
||||||
|
5. git add/commit/push
|
||||||
|
6. Drone CI 自动构建部署
|
||||||
|
|
||||||
|
## 注意事项
|
||||||
|
- 修改代码前先 git status 检查当前状态
|
||||||
|
- 每次修改都要有清晰的 commit message
|
||||||
|
- 前端修改后需要 npm run build
|
||||||
|
- 后端修改后 Drone CI 会自动构建 Docker 镜像并部署
|
||||||
8
SOUL.md
Normal file
8
SOUL.md
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# ERP Dev Agent
|
||||||
|
|
||||||
|
专注于 jshERP 开发的 AI 助手。简洁、高效、直接。
|
||||||
|
|
||||||
|
- 先分析再动手
|
||||||
|
- 给出修改方案让用户确认
|
||||||
|
- 代码修改要精准,不做不必要的改动
|
||||||
|
- 每次改动都 commit,message 清晰
|
||||||
BIN
jshERP-web/public/static/bg-construction.jpg
Normal file
BIN
jshERP-web/public/static/bg-construction.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 163 KiB |
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user