pugov1

command module
v0.0.0-...-f1f97c7 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2018 License: MIT Imports: 6 Imported by: 0

README

PuGo

a simple static site generator

Install
go get github.com/fuxiaohei/pugov1

go to source directory, run:

go build main.go

then run the binary file:

./pugov1 version

print current version:

0.1.0
Generate

init default site:

./pugov1 init

build site contents to html pages:

./pugov1 build

it generates all html files in _dest directory.

preview the site:

./pugov1 server

then visit http://localhost:9899/ to display the webpage in browser

full commands usages in wiki-Commands.

Deploy

the files in _dest are a whole site. Put them to http server (such as nginx) directory.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
module

Jump to

Keyboard shortcuts

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