adnan360 ba763d97e5 Change bash shebang line to env | 3 years ago | |
---|---|---|
.. | ||
patches | 4 years ago | |
src @ a55df3915d | 4 years ago | |
.gitignore | 4 years ago | |
README.md | 4 years ago | |
patch.sh | 3 years ago | |
patch.sh-e | 3 years ago | |
patch.sh-e-e | 3 years ago |
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