Skip to content

Commit f283eda

Browse files
author
zzdboy
committed
GoCMS 0.1
0 parents  commit f283eda

File tree

1,244 files changed

+110458
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,244 files changed

+110458
-0
lines changed

LICENSE

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Copyright (c) 2013, zzdboy
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without modification,
5+
are permitted provided that the following conditions are met:
6+
7+
* Redistributions of source code must retain the above copyright notice, this
8+
list of conditions and the following disclaimer.
9+
10+
* Redistributions in binary form must reproduce the above copyright notice, this
11+
list of conditions and the following disclaimer in the documentation and/or
12+
other materials provided with the distribution.
13+
14+
* Neither the name of the {organization} nor the names of its
15+
contributors may be used to endorse or promote products derived from
16+
this software without specific prior written permission.
17+
18+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
22+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
25+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.md

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
#GoCMS
2+
3+
基于Go语言和Revel框架的内容管理系统
4+
5+
6+
演示地址:
7+
[http://admin.6574.com.cn/](http://admin.6574.com.cn/)
8+
9+
GoCMS QQ交流群:
10+
[<a target="_blank" href="http://shang.qq.com/wpa/qunwpa?idkey=3421374909556d550942819ac01a48339fc70130ebfea330015dee89abb540c2"><img border="0" src="http://pub.idqqimg.com/wpa/images/group.png" alt="Revel&nbsp;框架交流" title="Revel&nbsp;框架交流"></a>](345304040)
11+
12+
##编译安装说明:
13+
14+
设置GOPATH(安装目录)
15+
16+
$ export GOPATH=/path/src/admin
17+
$ cd /path/src/admin
18+
19+
获取源代码,下载完成后会自动编译为GoCMS可执行文件
20+
21+
$ go get github.com/zzdboy/GoCMS
22+
23+
修改数据库配置
24+
25+
admin/conf/databases.conf
26+
27+
导入MySQL
28+
29+
doc目录下gocms.sql
30+
31+
运行
32+
33+
$ nohup revel run admin &
34+
设为后台运行
35+
36+
访问:
37+
38+
http://localhost:9001
39+
40+
后台地址:
41+
42+
http://localhost:9000
43+
44+
帐号:admin
45+
密码:123456
46+

0 commit comments

Comments
 (0)