diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -13,6 +13,7 @@ installation is very straightforward: ```terminal $ fsl clone https://fsl.aaoth.xyz/nimisewi.c $ cd nimisewi +$ ./configure $ make $ doas make install ``` @@ -21,8 +22,8 @@ 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 +$ ./configure --static # if your cgi will be served from chroot +$ make nimisewi.cgi ``` or if you want a cgi script for gemini protocol, run: @@ -30,10 +31,10 @@ 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 +$ make nimisewi_gemini.cgi ``` -now throw that `nimisewi.cgi` into your cgi-bin folder and serve it as you wish. +now throw that `nimisewi.cgi` or `nimisewi_gemini.cgi` into your cgi-bin folder and serve it as you wish. see examples here: @@ -42,7 +43,7 @@ see examples here: ## usage -``` +```terminal $ nimisewi nanpa apeja pi sin len @@ -52,11 +53,12 @@ nanpa apeja pi sin len to add new words, edit `nimitoki.txt` file. add one word per line. -then, rebuild `nimitoki.c` and `nimitoki.h` and then relink the whole program. +then, just clean everything and recompile the program. ```terminal $ vim nimitoki.txt $ make distclean +$ ./configure $ make ... ``` |
