Download & Compile

To install PuGo, you must have Go language. Download Go and install it from official site.

PuGo need Go 1.4+.

If Go is ready, get PuGo’s source code:

go get github.com/go-xiaohei/pugo

Then you can modify source codes and build your own binary.

Asset

PuGo use go-bindata to bundle assets to source code.

go get github.com/jteeuwen/go-bindata

Add $GOPATH/bin to PATH, then:

go generate -x

It packs doc, source, theme to go source code in app/asset/asset.go.

Notice

  • PuGo need fsnotify to watch file changes. It’s not tested on arm platform.
  • PuGo use log15.v2 to print logs. But it can’t be compiled in openbsd & netbsd.