Home > other >  3 days with golang wrote a little blog four waste their blogs
3 days with golang wrote a little blog four waste their blogs

Time:09-24

Introduction of
"Small four waste their blog" is a adopts Golang development blog program, it contains only the most basic function of blog, comments module adopts the sohu news soufangwang module,

Why do
Why this blog only so little? Because for me, I can have a local independent blog posts to go, then also satisfy his lust for modification,

Also use the building such as Wordpress blog before, but it's too large, the consumption of resources, always be service downtime, can just Golang is a rapid development of language, USES the framework of Gin, I write good 3 days this functionality,

in the future
What features to add in the future, also don't know!

source code to compile using the
A total of four steps
Premise: please install the SDK golang

Out of cloning or download the code
Set goproxy agent, recommend use http://goproxy.cn
Run go mod download download the dependent package
Run go build generated installation package (due to using the sqlite database, so can't cross-compiling)
The compiled exe program under Windows, Linux by a compiler to generate the binary package
Other static files and configuration as long as the

CMD
Configs
Web
The inside of the three folder, delete the go file

configuration changes
Find files: configs \ yaml \ application yaml
Background the default account password: admin/123

installation package download
Windows:
https://gitee.com/4color/SiSaiBlog/releases/V1.0-Windows

Linux:
https://gitee.com/4color/SiSaiBlog/releases/V1.0-Linux

Official site
http://4color.cn

making
https://github.com/4color/SiSaiBlog/
Welcome to Follow

CodePudding user response:

You this site is too card
  • Related