Open MaxiMakes opened 7 years ago
Sorry, I need to update these docs!
I would recommend trying it with either xavante or nginx though, since they are the best supported servers. Xavante comes installed with sailor, so if you tried creating an app, could you try cd'ing to it and lua start-server.lua
?
for nginx, try following the instructions to get openresty(nginx+lua) here https://openresty.org/en/installation.html then the rest should be similar to the procedure we have for osx https://github.com/sailorproject/sailor/blob/master/docs/INSTALL_MAC.md#alternative-setup-using-nginx-and-openresty
Thanks,
lua5.2 start-server.lua
works,
but I will test some other Distributions and installation instructions in the next few days.
I think it's important that newbies can follow the installation instructions and have a working server.
I'm running Archlinux in Virtual Box. I tried to install sailor with this guide INSTALL_LINUX_ARCH.md after I have uncommented this line:
LoadModule lua_module modules/mod_lua.so
httpd breaks with:
httpd: Syntax error on line 119 of /etc/httpd/conf/httpd.conf: Cannot load modules/mod_lua.so into server: /etc/httpd/modules/mod_lua.so: undefined symbol: luaL_register
I also tried lighttpd and didn't get it to work :(