SEMS-on-device-server/README.md

13 lines
635 B
Markdown
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.

## 开发命令
注意此命令依赖PowerShell 7
- `./run.ps1 build_docker` 构建运行环境的容器
- `./run.ps1 dev` 启动开发环境
- `./run.ps1 prod` 启动生产环境
- `./run.ps1 remove_docker` 删除相关容器
- `./run.ps1 release`:打包生产环境所需的文件
## 使用方法
1. 当更新docker运行环境后运行`./run.ps1 build_docker`重新编译镜像
2. 当开发时运行`./run.ps1 dev`即可,当文件修改后能够自动重新编译
2. 当需要发布时,运行`./run.ps1 release`即可得到相关文件,然后运行 `./run.ps1 prod`可直接尝试生成的文件是否好用