#Gopher
Golang中国([www.golang.tc](http://www.golang.tc))源代码.
##Requirements
- Go1.0+
- MongoDB
- code.google.com/p/gorilla/mux
- code.google.com/p/gorilla/sessions
- labix.org/v2/mgo
##Install
go get -u code.google.com/p/gorilla/mux
go get -u code.google.com/p/gorilla/sessions
go get -u labix.org/v2/mgo
git clone git://github.com/jimmykuu/gopher.git
修改文件*config.json.default*为*config.json*作为配置文件
- superusers: 内容为用户名,如果没有管理员,内容为"",如果有多个,用空格隔开
内容如下:
{
"host": "http://localhost:8888",
"port": "8888",
"cookie_secret": "05e0ba2eca9411e18155109add4b8aac",
"smtp_username": "username@example.com",
"smtp_password": "password",
"smtp_host": "smtp.example.com",
"smtp_addr": "smtp.example.com:25",
"from_email": "who@example.com",
"superusers": "jimmykuu,another"
}
先启动MongoDB
然后运行命令
go run *.go
或者
go build -o gopher *.go
./gopher
##Contributors
- [Contributors](https://github.com/jimmykuu/gopher/graphs/contributors)
##License
Copyright (c) 2012
Released under the MIT license:
- [www.opensource.org/licenses/MIT](http://www.opensource.org/licenses/MIT)
没有合适的资源?快使用搜索试试~ 我知道了~
golang中国 网站 源代码
共91个文件
png:27个
html:26个
go:14个
5星 · 超过95%的资源 需积分: 48 40 下载量 97 浏览量
2012-09-08
14:17:23
上传
评论
收藏 1.09MB ZIP 举报
温馨提示
Golang中国 网站 源代码 http://www.golang.tc/ https://github.com/jimmykuu/gopher
资源推荐
资源详情
资源评论
收起资源包目录
GOWEB.zip (91个子文件)
GOWEB
account.go 14KB
templates
node
new.html 713B
list.html 580B
admin
new_site_category.html 629B
index.html 172B
site_categories.html 462B
nodes.html 477B
index.html 2KB
base.html 3KB
account
reset_password.html 746B
topics.html 2KB
avatar.html 1005B
signout.html 501B
replies.html 832B
signin.html 902B
forgot_password.html 647B
info.html 3KB
signup.html 2KB
profile.html 2KB
site
form.html 815B
index.html 1KB
faq.html 1KB
about.html 1KB
topic
form.html 1KB
list.html 2KB
show.html 4KB
message.html 386B
tools
reset_node_topic_count.go 770B
static
css
bootstrap-responsive.min.css 15KB
bootstrap.min.css 93KB
prettify.css 815B
wmd.css 1KB
style.css 5KB
img
gopher
help.png 6KB
frontpage.png 17KB
bumper192x108.png 8KB
ref.png 6KB
talks.png 7KB
gopherbw.png 167KB
appenginelogo.gif 2KB
bumper.png 270KB
doc.png 4KB
gophercolor16x16.png 739B
run.png 9KB
gophercolor.png 165KB
bumper640x360.png 41KB
appenginegophercolor.jpg 158KB
pkg.png 5KB
bumper320x180.png 15KB
project.png 8KB
appenginegopher.jpg 133KB
bumper480x270.png 26KB
linode.png 11KB
golang-china.gif 3KB
bg.png 10KB
logo.jpg 13KB
PoweredGo.png 10KB
weibo.png 673B
wmd-buttons.png 7KB
exclamation.png 701B
glyphicons-halflings.png 12KB
accept.png 781B
glyphicons-halflings-white.png 9KB
PoweredMongoDBblue50.png 5KB
bg-footer.gif 1KB
golang-china.png 18KB
js
jquery.js 242KB
application.js 92B
Markdown.Sanitizer.js 4KB
prettify.js 13KB
modernizr.js 15KB
bootstrap.min.js 25KB
Markdown.Converter.js 52KB
jquery.textchange.min.js 1KB
Markdown.Editor.js 79KB
favicon.ico 4KB
topic.go 8KB
main.go 785B
urls.go 1KB
wtforms
fields.go 6KB
validators.go 968B
form.go 1KB
models.go 4KB
.gitignore 265B
node.go 314B
views.go 6KB
README.md 1KB
admin.go 5KB
site.go 4KB
pagination.go 1KB
config.json.default 344B
共 91 条
- 1
资源评论
- 理想AWP2017-07-12老了,很多东西需要调整,还能凑合用一下
- linglong_20062014-07-19还可以 beggo比较火
- duanhengbin2013-07-13很好,适合一定基础的人看
李察德-泰森
- 粉丝: 67
- 资源: 50
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功