GoBlog

personal site engine with goink framework

  • 所有者: fuxiaohei/GoBlog
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Notice: this project is deprecated. Please try my new blog engine pugo.

#Fxh.Go

A fast and simple blog engine with GoInk framework in Golang.

Build Status
GoWalker

Current version is 0.2.5 on 2014.02.28

Development board is in Trello.

Overview

Fxh.Go is a dynamic blog engine written in Golang. It's fast and very simple configs. Fxh.Go persists data into pieces of json files and support compress them as backup zip for next upgrade or installation.

Fxh.Go supports markdown contents as articles or pages, ajax comments and dynamic administration.

Fxh.Go contains two kinds of content as article and page. They can be customized as you want.

Installation

Fxh.Go requires Go 1.2 or above.

Gobuild.io

Gobuild.io can build cross-platform executable file for pure go projects. You can download Fxh.Go binary from Gobuild.io.

Gobuild Download

Manual

Use go get command:

go get github.com/fuxiaohei/GoBlog

Then you can find binary file GoBlog(.exe) in $GOPATH/bin.

Run

Make a new dir to run Fxh.Go:

cd new_dir
Goblog

Then it will unzip static files in new_dir , initialize raw data and start server at localhost:9001.

Admin

Visit localhost:9001/login/ to enter administrator with username admin and password admin. You'd better change them after installed successfully.

Deployment

I prefer to use nginx as proxy. The server section in 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;
            }
    }

Questions

Create issues or pull requests here.

Products

Thanks

License

The MIT License

主要指标

概览
名称与所有者fuxiaohei/GoBlog
主编程语言Go
编程语言Go (语言数: 5)
平台
许可证MIT License
所有者活动
创建于2013-11-19 16:49:20
推送于2019-02-18 01:46:45
最后一次提交2015-10-15 16:25:17
发布数6
最新版本名称v0.2.5 (发布于 )
第一版名称v0.1 (发布于 )
用户参与
星数345
关注者数39
派生数91
提交数160
已启用问题?
问题数8
打开的问题数5
拉请求数11
打开的拉请求数1
关闭的拉请求数1
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?