编译运行Answer源码,搭建自己的问答平台

Viewed 39

源码地址:https://github.com/answerdev/answer

Go源码编译:

安装配置Golang环境
1.cd /answer
2.go run ./cmd/answer/main.go init -C ./data/ 
3.浏览器打开地址 http://localhost:80/install 进行初始化安装 
3.go run ./cmd/answer/main.go run -C ./data/ 

前端UI编译:

1.安装配置nodejs环境和pnpm等工具
2.pnpm install
3.pnpm run build
0 Answers