A lightweight server framework written in C use Lua as script language.
- sudo apt-get install libreadline-dev(debain)
- yum install readline-devel(centos)
- make linux (linux)
- make macosx (mac)
- make install
x <configfile>
- daemon, 1 --> run as daemon, 0 --> normal
- bootstrap, lua entry file
- lualib_path, will append the package.path (in luaVM)
- lualib_cpath, will append the package.cpath (int luaVM)
- logpath, when run as daemon, all print message will write to [logpath]/silly-[pid].log file
- pidfile, when run as daemon, 'pidfile' will used by run only once on a system
- process/csdemo
- run ./x process/configmgr/entry.config to generate sample config file for each process
- all the test code will be included into ./test folder
- run x test/test.conf will auto test all module
- deps/lua is no a pure lua, and can be replaced by pure lua
- extra features are lfs and lcalender