Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fuxiaohei/GoBlog
personal site engine with goink framework
https://github.com/fuxiaohei/GoBlog
Last synced: 4 months ago
JSON representation
personal site engine with goink framework
- Host: GitHub
- URL: https://github.com/fuxiaohei/GoBlog
- Owner: fuxiaohei
- License: mit
- Created: 2013-11-19T16:49:20.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2019-02-18T01:46:45.000Z (about 6 years ago)
- Last Synced: 2024-08-01T16:18:26.354Z (7 months ago)
- Language: Go
- Size: 16.5 MB
- Stars: 348
- Watchers: 40
- Forks: 91
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Notice: this project is deprecated. Please try my new blog engine [pugo](https://github.com/go-xiaohei/pugo).
#Fxh.Go
A fast and simple blog engine with [GoInk](https://github.com/fuxiaohei/GoInk) framework in Golang.
[](https://drone.io/github.com/fuxiaohei/GoBlog/latest)
[](http://gowalker.org/github.com/fuxiaohei/GoBlog)Current version is **0.2.5** on 2014.02.28
Development board is in [Trello](https://trello.com/b/7AHrcQL8/fxh-go-with-goink).
### 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](http://gobuild.io/) can build cross-platform executable file for pure go projects. You can download `Fxh.Go` binary from Gobuild.io.
[](http://gobuild.io/github.com/fuxiaohei/GoBlog)
##### 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
GoblogThen 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
* [抛弃世俗之浮躁,留我钻研之刻苦](http://wuwen.org)
* [FuXiaoHei.Me](http://fuxiaohei.me)### Thanks
* [@Unknwon](https://github.com/Unknwon) on testing and [zip library](https://github.com/Unknwon/cae) support.
### License
The MIT License