moonbridge
diff README @ 8:32e0838d16e6
Added MOONBR_LUA_PATH compile-time variable to allow prepending a path to LUA_PATH at run-time
author | jbe |
---|---|
date | Thu Jan 29 03:22:06 2015 +0100 (2015-01-29) |
parents | f6d3b3f70dab |
children | 757902555204 |
line diff
1.1 --- a/README Thu Jan 29 01:33:00 2015 +0100 1.2 +++ b/README Thu Jan 29 03:22:06 2015 +0100 1.3 @@ -1,11 +1,24 @@ 1.4 Quickstart guide: 1.5 1.6 -$ make # hint: use bmake on GNU systems 1.7 +$ make 1.8 $ ./moonbridge example_application.lua 1.9 1.10 +Hint: use bmake on GNU systems 1.11 + 1.12 Then connect to http://localhost:8080/ 1.13 1.14 To learn more, check example_application.lua and reference.txt files. If you 1.15 experence any touble during compilation, please edit the Makefile to match 1.16 your system. 1.17 1.18 + 1.19 +Further notes: 1.20 + 1.21 +The moonbridge binary may be compiled with a string that gets prepended to 1.22 +LUA_PATH in order to allow proper inclusion of "moonbridge_http.lua" 1.23 +independent of the current working directory. Set the MOONBR_LUA_PATH variable 1.24 +to a string consisting of the path where "moonbridge_http.lua" will be 1.25 +installed plus "/?.lua" if you want to use this feature, e.g.: 1.26 + 1.27 +$ make MOONBR_LUA_PATH=/usr/local/lib/moonbridge/?.lua 1.28 +