annotate README @ 192:5adfc36ca73f
Added request:consume_input() call to example_application.lua
 | author | jbe | 
 | date | Fri Jun 19 19:47:03 2015 +0200 (2015-06-19) | 
 | parents | 757902555204 | 
 | children |  | 
 
 | rev | line source | 
| jbe@0 | 1 Quickstart guide: | 
| jbe@0 | 2 | 
| jbe@8 | 3 $ make | 
| jbe@0 | 4 $ ./moonbridge example_application.lua | 
| jbe@0 | 5 | 
| jbe@8 | 6 Hint: use bmake on GNU systems | 
| jbe@8 | 7 | 
| jbe@0 | 8 Then connect to http://localhost:8080/ | 
| jbe@0 | 9 | 
| jbe@0 | 10 To learn more, check example_application.lua and reference.txt files. If you | 
| jbe@0 | 11 experence any touble during compilation, please edit the Makefile to match | 
| jbe@0 | 12 your system. | 
| jbe@0 | 13 | 
| jbe@8 | 14 | 
| jbe@8 | 15 Further notes: | 
| jbe@8 | 16 | 
| jbe@9 | 17 The moonbridge binary may be compiled with a string that gets appended | 
| jbe@9 | 18 to LUA_PATH (package.path) in order to allow proper inclusion of | 
| jbe@9 | 19 "moonbridge_http.lua" independent of the current working directory. | 
| jbe@9 | 20 Set the MOONBR_LUA_PATH variable to a string consisting of the path | 
| jbe@9 | 21 where "moonbridge_http.lua" will be installed plus "/?.lua" if you want | 
| jbe@9 | 22 to use this feature, e.g.: | 
| jbe@8 | 23 | 
| jbe@8 | 24 $ make MOONBR_LUA_PATH=/usr/local/lib/moonbridge/?.lua | 
| jbe@8 | 25 |