Go to file
2024-10-12 14:07:09 +08:00
src [Changed]上传的光谱数据修改为测量开始前10秒到测量结束 2024-10-12 14:07:09 +08:00
.env [Changed]upload data format 2024-10-11 11:46:21 +08:00
.eslintrc.json init repository 2024-09-11 19:06:44 +08:00
.gitignore init repository 2024-09-11 19:06:44 +08:00
CHANGELOG.md [Changed]upload data format 2024-10-11 11:46:21 +08:00
Dockerfile [features]api/healthcheck and /api upload [fixed] timezone nodemon 2024-09-26 18:21:32 +08:00
jsconfig.json init repository 2024-09-11 19:06:44 +08:00
next.config.mjs [refactored] update method of production environment 2024-09-25 20:15:42 +08:00
nodemon.json [features]api/healthcheck and /api upload [fixed] timezone nodemon 2024-09-26 18:21:32 +08:00
package-lock.json init repository 2024-09-11 19:06:44 +08:00
package.json build scheme 2024-09-12 18:48:25 +08:00
postcss.config.mjs init repository 2024-09-11 19:06:44 +08:00
README.md [refactored] update method of production environment 2024-09-25 20:15:42 +08:00
run.ps1 [Changed]upload data format 2024-10-11 11:46:21 +08:00
scanner.js [features]api/healthcheck and /api upload [fixed] timezone nodemon 2024-09-26 18:21:32 +08:00
server.js [Changed]upload data format 2024-10-11 11:46:21 +08:00
tailwind.config.js init repository 2024-09-11 19:06:44 +08:00
TODO.md init repository 2024-09-11 19:06:44 +08:00

开发命令

注意此命令依赖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即可,当文件修改后能够自动重新编译
  3. 当需要发布时,运行./run.ps1 release即可得到相关文件,然后运行 ./run.ps1 prod可直接尝试生成的文件是否好用