feat: 初始化gitignore和readme
This commit is contained in:
+51
@@ -0,0 +1,51 @@
|
|||||||
|
# 依赖与构建产物
|
||||||
|
**/node_modules/
|
||||||
|
**/dist/
|
||||||
|
**/build/
|
||||||
|
**/target/
|
||||||
|
**/out/
|
||||||
|
**/.next/
|
||||||
|
**/.nuxt/
|
||||||
|
**/coverage/
|
||||||
|
|
||||||
|
# 日志、缓存与临时文件
|
||||||
|
**/*.log
|
||||||
|
**/*.tmp
|
||||||
|
**/*.temp
|
||||||
|
**/.cache/
|
||||||
|
**/.eslintcache
|
||||||
|
**/npm-debug.log*
|
||||||
|
**/yarn-debug.log*
|
||||||
|
**/yarn-error.log*
|
||||||
|
**/pnpm-debug.log*
|
||||||
|
|
||||||
|
# IDE 与操作系统文件
|
||||||
|
.idea/
|
||||||
|
.vscode/
|
||||||
|
*.iml
|
||||||
|
.project
|
||||||
|
.classpath
|
||||||
|
.settings/
|
||||||
|
.DS_Store
|
||||||
|
Thumbs.db
|
||||||
|
|
||||||
|
# 本地环境和密钥配置(保留示例文件)
|
||||||
|
**/.env
|
||||||
|
**/.env.local
|
||||||
|
**/.env.*.local
|
||||||
|
!**/.env.example
|
||||||
|
!**/.env.*.example
|
||||||
|
|
||||||
|
# Java 编译文件
|
||||||
|
**/*.class
|
||||||
|
.trae/.ignore
|
||||||
|
.trae/cache-components/SKILL.md
|
||||||
|
.trae/code-reviewer/SKILL.md
|
||||||
|
.trae/find-skills/SKILL.md
|
||||||
|
.trae/fix/SKILL.md
|
||||||
|
.trae/frontend-code-review/SKILL.md
|
||||||
|
.trae/frontend-design/SKILL.md
|
||||||
|
.trae/fullstack-developer/SKILL.md
|
||||||
|
.trae/pr-creator/SKILL.md
|
||||||
|
.trae/update-docs/SKILL.md
|
||||||
|
.trae/webapp-testing/SKILL.md
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
# zhgh_cug_v4
|
||||||
|
|
||||||
|
智慧工会系统本地开发说明。
|
||||||
|
|
||||||
|
## 访问入口
|
||||||
|
|
||||||
|
PC 管理端:
|
||||||
|
|
||||||
|
```text
|
||||||
|
http://127.0.0.1/platform/login
|
||||||
|
```
|
||||||
|
|
||||||
|
H5 端:
|
||||||
|
|
||||||
|
```text
|
||||||
|
http://127.0.0.1/platform/h5
|
||||||
|
```
|
||||||
|
|
||||||
|
## 登录账号
|
||||||
|
|
||||||
|
```text
|
||||||
|
账号:superadmin
|
||||||
|
密码:以本地数据库或初始化数据为准
|
||||||
|
```
|
||||||
|
|
||||||
|
## 本地启动参数
|
||||||
|
|
||||||
|
如果使用 `application-dev.yaml`,IDEA 的 VM options 可配置:
|
||||||
|
|
||||||
|
```text
|
||||||
|
-Dnutz.profiles.active=dev --add-opens java.base/java.lang=ALL-UNNAMED
|
||||||
|
```
|
||||||
|
|
||||||
|
如果端口不是 80,需要在访问地址中补上端口号,例如:
|
||||||
|
|
||||||
|
```text
|
||||||
|
http://127.0.0.1:8080/platform/login
|
||||||
|
http://127.0.0.1:8080/platform/h5
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user