Zach Dahl dc62823c13 [#16] rename adminLocation -> admindir and adminroot | 8 år sedan | |
---|---|---|
admin | 8 år sedan | |
.gitignore | 8 år sedan | |
LICENSE | 9 år sedan | |
README.md | 8 år sedan | |
admin.go | 8 år sedan | |
auth.go | 8 år sedan | |
config.go | 8 år sedan | |
content.go | 8 år sedan | |
main.go | 8 år sedan | |
static.go | 8 år sedan |
A content management system built on Hugo, a static website generator.
Topiary is currently alpha software. It will build your Hugo source, start a web server, and make the input viewable at /admin
. Topiary should not be used in anything remotely resembling a production environment.
Possible production environments are GitHub Pages, a VPS, a shared host, IPFS, or your own server. Since the output is static, it's lightweight, secure, cheap to host, and simple to set up.
Right now the only way to install is by building from source.
Clone the Topiary repo:
$ go get github.com/topiary-io/topiary
Build Topiary:
$ cd topiary
$ go install
If you don't have a Hugo site, clone a bootstrapped site:
$ cd path/to/project/dir
$ git clone https://github.com/enten/hugo-boilerplate
Copy the admin assets to your Hugo site root:
$ cp -r $GOPATH/src/github.com/topiary-io/topiary/admin path/to/hugo/site/root
Start Topiary:
$ cd path/to/hugo/site/root
$ topiary
Point a web browser to localhost:3000
to view your site, and localhost:3000/admin/
to view the site input.
Topiary will read a config file in either /etc/topiary
or to your site's Hugo config file.
[topiary]
admindir = "admin" # location of admin assets
adminroot = "/admin" # front end admin root
Apache 2.0