Giter Site home page Giter Site logo

goblog's Introduction

#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

goblog's People

Contributors

fuxiaohei avatar

Watchers

Angryfox avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.