You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
549 B
26 lines
549 B
# eruhs
|
|
|
|
## 开发环境
|
|
|
|
开发模式下运行程序,需要的环境:
|
|
|
|
> 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的国内镜像源以下载依赖 |