From 6e2f8a74950e584c3e74df977b114a6e95cf81dc Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Mon, 6 Dec 2021 06:13:24 -0700 Subject: [PATCH] Add new examples and expand installation info --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 6ecaa12..656ad5a 100644 --- a/README.md +++ b/README.md @@ -18,10 +18,16 @@ It can be used to server existing wikis, or to create new ones. # Installation +For Go 1.16: ``` go get -u suah.dev/widdler ``` +For Go 1.17 and up: +``` +go install suah.dev/widdler@latest +``` + # Running ``` @@ -46,3 +52,16 @@ create the wiki file based off the current `empty.html` TiddlyWiki version. Simply hit the save button! +# Updating widdler + +``` +go install suah.dev/widdler@latest +``` + +# Running without .htpasswd + +You can disable auth all together by setting the `-auth` flag to false: + +``` +widdler -auth=false -wikis ~/wiki +```