Pages

Saturday, 5 December 2015

GoSense-一个基于go+mysql5.7的博客程序

A blog web App powered by golang, for demo , please see https://www.netroby.com

Install

go get github.com/tools/godep
go get -u github.com/netroby/gosense
godep go build
./gosense # windows gosense.exe
Or you can install docker, then run docker container 
git clone https://github.com/netroby/gosense.git
./up.sh
Once you docker up and running, you may access demo via http://127.0.0.1:8080

Graceful restart

And if you want reload gosense, just run following command
docker kill -s HUP gosense
Or may you want to rebuild binary and graceful reload ?
git pull --rebase
./graceful-restart.sh
from https://github.com/netroby/gosense