Total Pageviews

Wednesday, 2 August 2017

GoCMS, 基于Go语言+Revel框架+mysql的内容管理系统


演示地址: http://admin.6574.com.cn/
GoCMS QQ交流群: Revel 框架交流
##编译安装说明:
设置GOPATH(安装目录)
$ export GOPATH=/path/src/admin
$ cd /path/src/admin
注:把下载的代码复制到src/admin目录下
获取源代码,下载完成后会自动编译为GoCMS可执行文件
$ go get github.com/go-xorm/xorm
$ go get github.com/revel/revel
$ go get github.com/cbonello/revel-csrf
$ go get github.com/PuerkitoBio/goquery
$ go get github.com/shirou/gopsutil
$ go get github.com/zzdboy/GoCMS
修改数据库配置
admin/conf/databases.conf
导入MySQL
doc目录下gocms.sql
运行
$ nohup revel run admin &
设为后台运行
访问:
http://localhost:9001
后台地址:
http://localhost:9000
帐号:demo 密码:123456

from  https://github.com/zzdboy/GoCMS

No comments:

Post a Comment

Note: only a member of this blog may post a comment.