12 lines
428 B
Markdown
12 lines
428 B
Markdown
## Getting Started
|
||
|
||
First, run the development server:
|
||
|
||
```bash
|
||
docker compose up
|
||
```
|
||
|
||
发布:
|
||
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' |