Go to file
Henrique Dias e7ad52f500 Merge pull request #78 from robteix/doc-fix
Fix source path in docs
2016-06-27 13:42:18 +01:00
assets progresses 2016-06-19 21:33:55 +01:00
config updates on #71 2016-06-07 16:08:52 +01:00
routes remove dangerous global variables 2016-06-16 17:01:41 +01:00
tools close #70 2016-06-07 19:00:07 +01:00
.gitignore test travis with bintray 2016-03-01 19:15:02 +00:00
.travis.yml remove bintray 2016-06-09 15:42:31 +01:00
LICENSE.md update license 2016-02-21 20:15:07 +00:00
README.md Merge pull request #78 from robteix/doc-fix 2016-06-27 13:42:18 +01:00
hugo.go progresses 2016-06-19 21:33:55 +01:00
setup.go put setup aside and rename CaddyHugo struct 2016-06-16 17:04:38 +01:00

README.md

hugo - a caddy plugin

Build community Documentation Documentation

Hugo is an easy to use and fast command line static website generator, while Caddy is a lightweight, fast, general-purpose, cross-platform HTTP/2 web server with automatic HTTPS. This extension is able to bring a web interface to Caddy to manage Hugo generated websites. This plugin provides you an web interface to manage your websites made with Hugo.

If you're not developer go to the documentation.

Build from source

Requirements:

Instructions:

  1. go get github.com/hacdias/caddy-hugo (ignore the error, see step 3)
  2. cd $GOPATH/github.com/hacdias/caddy-hugo
  3. If you want to modify the CSS/JS:
  4. Change the third comment to //go:generate go-bindata -debug -pkg assets -o assets/assets.go templates/ assets/css/ assets/js/ assets/fonts/
  5. npm install
  6. grunt watch
  7. go generate
  8. cd $YOUR_WEBSITE_PATH
  9. caddydev --source $GOPATH/src/github.com/hacdias/caddy-hugo hugo
  10. Go to http://domain:port