GoBlog

command module
v0.2.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2020 License: MIT Imports: 1 Imported by: 0

README

介绍

自己玩系列

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.

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;
            }
    }

Products

Thanks

License

The MIT License

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
app
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL