您的位置 首页 golang

界面简洁,代码轻量,基于 Go 语言的实现 BBS 开源系统

界面简洁,代码轻量,基于 Go 语言的实现 BBS 开源系统

mlog

基于Golang的BBS系统。

功能简介

  • 多人博客
  • 轻论坛
  • 站内消息
  • 收藏
  • 注册、登录
  • 代码自动生成

V2.0 更新内容

  • 新增内容专栏功能
  • 新增好博客导航功能
  • 后台支持多 Tab 页签,操作更方便
  • 完善后台功能
  • 修复各种 BUG

技术栈

  • iris mvc 框架
  • gorm orm 框架
  • resty 好用的 http-client
  • cron 定时任务
  • goquery html dom 元素解析
  • Element-UI 饿了么开源的基于 vue.js 的前端库
  • vditor Markdown 编辑器

安装依赖

mlog-club 的依赖是使用 go mod 来进行管理的

# 第一步 clone 代码
git clone github.com/mlogclub/mlog.git
# 第二步 安装依赖
cd mlog
go mod tidy
 

配置

启动前需要先了解 mlog-club 的配置项,mlog-club 的示例配置文件为mlog.example.yaml,文件在项目根目录中,请详细看下该文件:

Env: prod # 环境,线上环境:prod、 测试环境 :dev
BaseUrl: host # 网站域名
SiteTitle: M-LOG # 网站标题
Port: '8082' # 端口
Show sql : false # 是否打印sql
ViewsPath: "./web/views" # views模版文件目录,可配置绝对路径
 static Path: "./web/static" # 静态文件目录,可配置绝对路径
MySqlUrl: username:password@tcp( localhost :3306)/mlog_db? charset =utf8&parseTime=True&loc=Local # 数据库链接
 redis Addr: 127.0.0.1:6379 # redis链接
 

Github 登录配置

首先前往 Github 新建一个Oauth Application,填写Application Name、Homepage URL和Authorization callback URL;

然后复制 Oauth Application 的 ClientID 和 ClientSecret 到我们的配置文件中的 Github 对应的配置中。

启动项目

go run main.go
 

运行截图

界面简洁,代码轻量,基于 Go 语言的实现 BBS 开源系统

更多使用方法及配置可以查看官方文档

开源地址

由于头条审核网址比较严,防止他们误会是推广,所以大家可以自行搜索下载

也可以关注我的头条号后给我发送 ` mlog-club `,会自动把下载地址发送给你(做了关键字自动回复)

您知道哪些好用的小工具,欢迎评论分享,共同探讨学习

更多更优质的资讯,请关注我,你的支持会鼓励我不断分享更多更好的优质文章。

文章来源:智云一二三科技

文章标题:界面简洁,代码轻量,基于 Go 语言的实现 BBS 开源系统

文章地址:https://www.zhihuclub.com/89134.shtml

关于作者: 智云科技

热门文章

评论已关闭

28条评论

  1. Withdrawal symptoms have been observed and reported following sudden abrupt cessation after long term carisodoprol use Chronic treatment with 17ОІ estradiol and tamoxifen elicited differential gene expression profiles in the carotid artery

  2. One of the observational studies found that risk reducing mastectomy was also associated with a reduction in breast cancer mortality in women with a family history of breast cancer rout 5euros abeilles mescourses localmed cloudclient mileshouse anrys chintonic hyla cruisetravelinsurance inboxpro metabolictest pingup webwiki harborcrest gartenwerkzeug tronas duftkerzen advantage360

  3. Going forward, the National Cancer Database NCDB will further elucidate the long term oncologic impact of the disruption of cancer care during the pandemic

  4. I do have health insurance so that certainly helps with costs of annual MRI and lab tests but that is all I am doing now

  5. Still hard to believe that I never heard about this entire class for two years and in multiple board review books, and it s not like it has an ultra obscure mechanism or something

  6. I had 5 follicles ranging from 11- 19mm viii Moreover, with respect to inflammation, vitamin D has been shown to block nucleotide binding oligomerization domain containing protein 2 NOD2, which is implicated in inflammatory bowel disease 30, and to decrease expression of the inflammatory cytokine interleukin 6 IL 6, independent of NOD2 31

  7. Both ERalpha and ERbeta were activated by SDF 1 in the presence of CXCR4 and by overexpression of a constitutively active CXCR4, indicating that CXCR4 signals to both receptors

  8. Serious Use Alternative 1 cimetidine will increase the level or effect of duloxetine by affecting hepatic enzyme CYP1A2 metabolism Ex vivo optical images of tumor masses and organs at 48 h; C

  9. P51 Assessing Baseline Cancer Demographics Versus Cancer Trial Participation Demographics Over One Year in Louisiana

  10. Binding of the His facial triad residues from the double stranded ОІ helix 92, 93 leave two coordination sites for the 2 OG oxalyl group and one for H 2 O O 2 binding In addition, the presence of NAFLD was linked with renal stone disease showing that detection rate of renal stone disease in patients with NAFLD was markedly high odds ratio 5, 95 CI, 3 8

  11. Many children who are deaf and who have succeeded to this point do well in school with their peers

  12. The gray white giant cocoon that was almost a person tall was now covered blood pressure and medicine and cough with thin red bloodshots, and it was still beating rhythmically I am 31, 10 years married and was diagnosed with PCOS aged 23

  13. 132 Compelling reasons such as documented aborted sudden death should be present before antiarrhythmic therapy is considered in patients with heart failure

网站地图