You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
4 months ago | |
---|---|---|
.githooks | 2 years ago | |
.vs | 1 year ago | |
InterFaceContorl | 5 months ago | |
WinIn.FasterZ.AgGridReport | 1 year ago | |
WinIn.FasterZ.Wms.Be | 1 year ago | |
be | 4 months ago | |
build | 1 year ago | |
docs | 2 years ago | |
fe | 2 years ago | |
.gitignore | 2 years ago | |
README.md | 2 years ago | |
端口.txt | 1 year ago | |
说明.txt | 2 years ago |
README.md
开发和部署方式
开发环境配置
软件安装
- visual studio 2022(.net 6 sdk)
- Docker Desktop(wsl2)
配置文件
配置文件存储在build\src\docker\publish\conf 目录下,settings 目录存放程序配置文件,其他目录存放依赖配置文件
依赖管理
使用 build/src/docker/publish/ 目录下的 dev.start.cmd 和 dev.stop.cmd 管理依赖的停止启动,可以在Docker Desktop中查看和管理启动的服务
部署
Docker 和 Windows 部署两种方式只需要按需修改配置文件中的主机名和端口,windows单机部署时使用localhost作为主机名,docker compose单机部署时使用service name 作为主机名
docker compose 方式部署
- 还行:
build\src\docker\build.cmd
- 上传:
build\dist\win-x64\publish
目录到服务器 - 修改配置,执行 publish 目录下的 start.sh 或 start.cmd
windows x64 方式部署
- 执行:
build\src\win-x64\build.cmd
- 上传:
build\dist\win-x64\publish
目录到服务器 - 修改配置,执行 publish 目录下的 start.cmd