adnan360 ba763d97e5 Change bash shebang line to env | 3 年之前 | |
---|---|---|
.. | ||
patches | 4 年之前 | |
src @ a55df3915d | 4 年之前 | |
.gitignore | 4 年之前 | |
README.md | 4 年之前 | |
patch.sh | 3 年之前 | |
patch.sh-e | 3 年之前 | |
patch.sh-e-e | 3 年之前 |
quark simple static site server from suckless.org. It is an extremely small and simple HTTP GET/HEAD-only web server for static content.
NOTE: This is not my code. I have taken the source from here.
To update the source code to newest version:
cd src
git pull --rebase
You can also clone it afresh if you want to:
rm -rf src
git clone --depth=1 https://git.suckless.org/quark src
The source should be in src
directory and patches should be in patches
directory. You just run ./patch.sh
. It should apply all the patches in the patches
folder.
To build and install:
cd build
make clean && make
sudo make install
quark -p 3300 -d /path/to/some/www/directory
For details check out man quark