Go to file
aichy 9adfbcae67 fix sql 2022-09-29 19:52:33 +08:00
assets fix sql 2022-09-29 19:52:33 +08:00
build initial commit 2022-09-27 17:59:05 +08:00
charts initial commit 2022-09-27 17:59:05 +08:00
cmd/answer feat: add new cli 2022-09-28 19:18:51 +08:00
configs update install 2022-09-28 17:33:48 +08:00
deployments initial commit 2022-09-27 17:59:05 +08:00
docs swagger 2022-09-29 10:38:17 +08:00
i18n fix 2022-09-28 16:41:51 +08:00
internal install document 2022-09-29 11:12:28 +08:00
pkg initial commit 2022-09-27 17:59:05 +08:00
script update install 2022-09-28 17:33:48 +08:00
ui chore: update script 2022-09-28 10:24:43 +08:00
web initial commit 2022-09-27 17:59:05 +08:00
.editorconfig initial commit 2022-09-27 17:59:05 +08:00
.gitignore Merge branch 'ai_work' into 'main' 2022-09-28 03:24:39 +00:00
.gitlab-ci.yml initial commit 2022-09-27 17:59:05 +08:00
Dockerfile fix 2022-09-29 10:14:57 +08:00
INSTALL.md update install en 2022-09-29 16:23:13 +08:00
INSTALL_CN.md update install cn 2022-09-29 12:27:14 +08:00
LICENSE initial commit 2022-09-27 17:59:05 +08:00
Makefile initial commit 2022-09-27 17:59:05 +08:00
README.md initial commit 2022-09-27 17:59:05 +08:00
README_CN.md initial commit 2022-09-27 17:59:05 +08:00
docker-compose.yaml update: docker-compose.yaml 2022-09-29 19:37:40 +08:00
go.mod initial commit 2022-09-27 17:59:05 +08:00
go.sum initial commit 2022-09-27 17:59:05 +08:00

README.md

answer

问答社区主项目代码

Dependence

github.com/segmentfault/pacman

module

  • email github.com/jordan-wright/email
  • session github.com/gin-contrib/sessions
  • Captcha github.com/mojocn/base64Captcha

Run

cd cmd
export GOPRIVATE=git.backyard.segmentfault.com
go mod tidy
./dev.sh

pprof

 # Installation dependency
 go get -u github.com/google/pprof
 brew install graphviz
pprof -http :8082 http://XXX/debug/pprof/profile\?seconds\=10