1 Star 1 Fork 4

polarisxu / studygolang

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
BSD-3-Clause

studygolang

Build Status

Go语言中文网 - Golang中文社区 源码

网站上线时间:2013-03-15 14:38:09

目前在线运行的分支是 Master。欢迎有兴趣的 gopher 们参与进来,一起构建一个完善的 Go 语言中文网,Go 语言爱好者的学习家园,参与方式请参考:https://studygolang.com/topics/4092

本地搭建一个 Go语言中文网

要求 Go 1.16+

1、下载源码到本地某个目录

git clone https://github.com/studygolang/studygolang

2、编译

进入 studygolang 项目目录,执行如下命令:

// unix
make build
// windows
install.bat

这样便编译好了 studygolang

3、在 studygolang 源码中的 bin 目录下应该有了 studygolang 可执行文件。

接下来启动 studygolang。

// unix
make start
// windows
start.bat

或者

// unix
bin/studygolang
// windows
bin\studygolang.exe

一切顺利的话,studygolang 应该就启动了。

4、验证

在浏览器中输入:http://127.0.0.1:8088

应该就能看到了。

接下来你会看到图形化安装界面,一步步照做吧。

  • 如果之后有出现页面空白,请查看 error.log 是否有错误

参与我们

fork + PR。如果有修改 js 和 css,请执行 gulp (需要先安装 gulp)。注意,Node 版本为:v10.16.2

使用该项目搭建的网站

Copyright (c) 2013 The StudyGolang Authors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

简介

Go 语言中文网 | Golang中文社区 | Go语言学习园地 源码 展开 收起
BSD-3-Clause
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Go
1
https://gitee.com/polarisxu/studygolang.git
git@gitee.com:polarisxu/studygolang.git
polarisxu
studygolang
studygolang
master

搜索帮助