mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-11-26 14:25:26 +08:00
47afc39f8a8961728afb79894758b18faf697029
add note about error when go get'ting
hugo - a caddy plugin
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:
- Go 1.6 or higher
- caddydev
- go-bindata
- Node.js w/ npm (optional)
Instructions:
go get github.com/hacdias/caddy-hugo(ignore the error, see step 3)cd $GOPATH/github.com/hacdias/caddy-hugo- If you want to modify the CSS/JS:
- Change the third comment to
//go:generate go-bindata -debug -pkg assets -o assets/assets.go templates/ assets/css/ assets/js/ assets/fonts/ npm installgrunt watchgo generatecd $YOUR_WEBSITE_PATHcaddydev --source $GOPATH/github.com/hacdias/caddy-hugo hugo- Go to
http://domain:port
Description
Languages
Go
43.6%
Vue
36%
TypeScript
9.5%
CSS
8.6%
HTML
1.5%
Other
0.8%