parent
7833c49c4a
commit
9eac09bb8d
@ -1,3 +1,26 @@ |
||||
# eruhs |
||||
|
||||
nil |
||||
## 开发环境 |
||||
|
||||
开发模式下运行程序,需要的环境: |
||||
|
||||
> nodejs v20.6.0 |
||||
> go version go1.22.0 |
||||
> 已安装webview2的windows(针对win 7/10)或者 windows 11 |
||||
|
||||
wails开发框架,请参考 https://wails.io/zh-Hans/docs/gettingstarted/installation |
||||
|
||||
也可手动构建运行: |
||||
|
||||
```bash |
||||
# 构建用户界面 |
||||
cd frontend |
||||
npm install |
||||
npm run build |
||||
|
||||
# 运行程序核心 |
||||
cd ../ |
||||
go run -tags dev -gcflags "all=-N -l" eruhs |
||||
``` |
||||
|
||||
由于特殊的网络原因,首次运行时可能还需要配置go与npm的国内镜像源以下载依赖 |
Loading…
Reference in new issue