初学Go最佳实战 - 简易知乎类问答系统

2,277 阅读1分钟

ui

初学Go最佳实战 - 简易知乎类问答系统 Guora

Guora

🖖🏻 A self-hosted Quora like web application written in Go

基于 Golang 类似知乎的私有部署问答应用 包含问答、评论、点赞、管理后台等功能

Quick Start

1.Clone Source Code

$ git clone https://github.com/meloalright/guora

$ cd guora

2.Download Requirements

$ go mod download

3.Edit Configuration

Open the configuration.yaml and edit your redis config.

打开 configuration.yaml 编辑你的 redis 环境配置。

4.Init and Run

$ (sudo) go run init/init.go

$ (sudo) go run main.go

5.Visit localhost:8080 and Log in as Admin

mail (默认邮箱)admin@localhost
password (默认密码)mypassword

Run Test

$ (sudo) go run init/init.go

$ (sudo) go test

Source

Repository: Guora

Author: Meloalright

License

MIT