Swifty is a minimalist webserver that supports just enough functionality to be useful. That also gives it the property of being tiny.
-
Create a config file at
/etc/swifty.conf
. An example config file is:AccessLogFile /Users/alai/Sites/swifty/log/access.log ErrorLogFile /Users/alai/Sites/swifty/log/error.log BasePath /Users/alai/Sites/swifty/document_root RunAsUserName alai
Argye will look for files in
BasePath
. Do not include a trailing slash.If you'd like to change the location of the config file, the path is defined at the top of
main.cpp
. -
Build with
make
. Runsudo ./swifty
. Hope it works.
Argyle is released under the MIT license.