aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/README.md b/README.md
index b3cc309..ba63e68 100644
--- a/README.md
+++ b/README.md
@@ -17,6 +17,24 @@ $ make
$ doas make install
```
+if you want to use nimisewi as cgi script, you can compile it with:
+
+```terminal
+$ make distclean
+$ configure --static # if your cgi will be served from chroot
+$ make cgi
+```
+
+or if you want a cgi script for gemini protocol, run:
+
+```terminal
+$ make distclean
+$ configure --static # if your cgi will be served from chroot
+$ make cgi_gemini
+```
+
+now throw that `nimisewi.cgi` into your cgi-bin folder and serve it as you wish.
+
## usage
```