aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md20
1 files changed, 19 insertions, 1 deletions
diff --git a/README.md b/README.md
index 840aed0..275d7c1 100644
--- a/README.md
+++ b/README.md
@@ -2,6 +2,24 @@
Standalone guestbook server meant to be paired up with a static website.
+## Installation
+
+Install with `go install` (`$GOPATH/bin` must be added to `$PATH`):
+
+```fish
+go install vidhukant.com/guestbook@latest
+```
+
+Or, build yourself:
+
+```fish
+git clone https://git.vidhukant.com/guestbook
+cd guestbook
+go build .
+```
+
+Then move the `guestbook` binary into `$PATH` yourself.
+
# Usage
## Configuration
@@ -60,7 +78,7 @@ StartLimitIntervalSec=0
Type=simple
Restart=on-failure
RestartSec=1
-ExecStart=guestbook --guestbook my_guestbook
+ExecStart=guestbook serve --guestbook my_guestbook
[Install]
WantedBy=multi-user.target