mirror of
https://gitlab.com/niansa/simpsh-httpd.git
synced 2025-03-06 20:53:36 +01:00
Added cport documentation
This commit is contained in:
parent
8feb3f24b1
commit
6e700524e3
2 changed files with 18 additions and 0 deletions
14
cport/README.md
Normal file
14
cport/README.md
Normal file
|
@ -0,0 +1,14 @@
|
|||
# simpsh-httpd C port
|
||||
Need more performance? Even though this ports memory usage is everything but optimized, it'll probably be a lot more efficient than the original bash version.
|
||||
|
||||
## Requirments
|
||||
* tcc
|
||||
|
||||
## Installation (dynmic way, but slower)
|
||||
Copy the main.sh from this directory to the parent directory; changes to configuration will be applied dynamically
|
||||
|
||||
## Installation (static way, fastest)
|
||||
Run `tcc ./main.c -o ../main.sh` from this directory; needs to be done every time configuration is changed
|
||||
|
||||
## Uninstallation
|
||||
Run `git stash` from the parent directory; **this will reset your configuration!!!**
|
4
cport/main.sh
Normal file
4
cport/main.sh
Normal file
|
@ -0,0 +1,4 @@
|
|||
#! /bin/sh
|
||||
|
||||
cd cport
|
||||
exec ./main.c
|
Loading…
Add table
Reference in a new issue