mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
📂 Web File Browser
47afc39f8a
add note about error when go get'ting |
||
---|---|---|
assets | ||
config | ||
routes | ||
tools | ||
.gitignore | ||
.travis.yml | ||
hugo.go | ||
LICENSE.md | ||
README.md | ||
setup.go |
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 install
grunt watch
go generate
cd $YOUR_WEBSITE_PATH
caddydev --source $GOPATH/github.com/hacdias/caddy-hugo hugo
- Go to
http://domain:port