aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorla-ninpre <leobrekalini@gmail.com>2021-06-02 17:00:39 +0000
committerla-ninpre <leobrekalini@gmail.com>2021-06-02 17:00:39 +0000
commite7e4e22b69a0c9965c2d4f96903ae647165e99d3 (patch)
tree206e0ffd324751e51850184dc21929382a3af4e4 /README.md
parent44c234cfdf8588e5c53a9534cc2ee1c627682f7c (diff)
downloadnimisewi_c-e7e4e22b69a0c9965c2d4f96903ae647165e99d3.tar.gz
nimisewi_c-e7e4e22b69a0c9965c2d4f96903ae647165e99d3.zip
major refactoringv0.0.3
added options to compile cgi for http and gemini FossilOrigin-Name: 393d793150423ffe6680f109ef6b0524fd8e2e3501766a6761aa63276e90d90e
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
```