1 Star 0 Fork 18

duanjunxiao / Fuxiaohei.Go

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

#Fxh.Go

一款动态博客引擎,基于 golang语言 开发的 GoInk Web框架开发。

Build Status GoWalker

当前版本 0.2.5 ( 2014.02.28 )

开发进度可以在 Trello 面板查看。

概述

Fxh.Go 是一款golang开发的,简单快速的动态博客引擎,支持json数据保存,zip压缩备份和自动脚本升级。文章和页面支持markdown格式,支持ajax评论。

Fxh.Go带有后台管理页面,可以动态查看和操作站点。

安装

Fxh.Go 需要 Go 1.2 版本(进行安装)。

Gobuild.io

Gobuild.io 支持跨平台编译纯go项目。 点击图标可以下载对应版本的二进制包,并立刻直接运行。

Gobuild Download

二进制文件不需要go语言编译环境。

手动

使用 go get 命令:

go get github.com/fuxiaohei/GoBlog

可以编译出 GoBlog(.exe) ,保存在 $GOPATH/bin

运行

创建一个新文件夹运行 Fxh.Go:

cd new_dir
Goblog

博客将自解压静态文件到文件夹 new_dir , 初始化默认数据,并开始监听 localhost:9001

后台

访问 localhost:9001/login/ 输入用户名admin和密码 admin。实际使用可以修改管理员帐户。

部署

最好用nginx做前端代理。nginx.conf中的配置:

    server {
            listen       80;
            server_name  your_domain;
            charset utf-8;
            access_log  /var/log/nginx/your_domain.access.log;

            location / {
                proxy_pass http://127.0.0.1:9001;
            }

            location /static {
                root            /var/www/your_domain;  # binary file is in this directory
                expires         1d;
                add_header      Cache-Control public;
                access_log      off;
            }
    }

建议

可以在这个项目提交issue和pull request。

Products

Thanks

License

The MIT License

The MIT License (MIT) Copyright (c) 2014 傅小黑 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

Go语言开发版本 fuxiaohei.me 展开 收起
Go
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Go
1
https://gitee.com/duanjunxiao/fuxiaohei-go.git
git@gitee.com:duanjunxiao/fuxiaohei-go.git
duanjunxiao
fuxiaohei-go
Fuxiaohei.Go
master

搜索帮助