2024-09-11 19:06:44 +08:00
|
|
|
|
## Getting Started
|
|
|
|
|
|
|
|
|
|
First, run the development server:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
docker compose up
|
2024-09-12 18:48:25 +08:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
发布:
|
|
|
|
|
1. 在docker环境内编译,npm run build
|
|
|
|
|
2. 打包,Compress-Archive -Path .next/standalone/*,.next/static -DestinationPath ./release/tmp.zip
|
|
|
|
|
3. 运行 docker run -p 4000:3000 -v C:\SEMS-development\SEMS-on-device-server\release:/app sems-on-device-server-server:latest sh -c 'ln -snf /env/node_modules /app && npm run start'
|