mbook

command module
v0.0.0-...-91dbda9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

README

mbook简介

mbook是学习自慕课网课程Go读书社区web开发与高性能架构优化

该课程是基于BookStack进行重构和开发的。这两个项目最终来源于MinDoc

在开发的过程中,根据需求做了功能裁减,然后进行了大量架构重构和性能优化,对其中很大一部分代码的逻辑实现部分进行了改写,同时也对部分表结构进行了调整。

编译运行

1.将项目放在GOPATH/src下,使得目录结构最终如下面的样子

$ ls $GOPATH/src/custergo/mbook

LICENSE			controllers		routers			uploads
README.md		main.go			static			utils
cache			mbook.sql		store			views
common			mbook_useraction.sql	sysinit
conf			models			tests

2.命令行到代码目录下

cd $GOPATH/src/custergo/mbook

3.编译代码

go build

4.将mbook.sql和mbook_useraction.sql导入数据库

其中mbook_useraction.sql可以在第五章的时候再导入

5.运行服务

./mbook

6.默认管理员用户名:admin , 密码:135246

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL