Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stpettersens/ladle
:moon: Simple web server written in the Lua programming language.
https://github.com/stpettersens/ladle
Last synced: about 1 month ago
JSON representation
:moon: Simple web server written in the Lua programming language.
- Host: GitHub
- URL: https://github.com/stpettersens/ladle
- Owner: stpettersens
- License: other
- Created: 2015-03-13T16:17:03.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-08T14:36:02.000Z (about 9 years ago)
- Last Synced: 2023-03-11T09:27:39.025Z (almost 2 years ago)
- Language: Lua
- Homepage:
- Size: 14.6 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
- License: COPYING.txt
Awesome Lists containing this project
README
******************************************************************
08/12/2015
Daniel Rampel has forked Ladle and is adding support
for POST requests, Lua scripting (Lua pages/scripts), etc.Please see:
https://github.com/danielrempel/ladle
I would strongly recommend that you use his fork
rather than the original project listed here.******************************************************************
13/03/2015
Ladle (lua-web-server) was originally a project on Google Code,
the original code has been ported as-is to Github because
Google Code is being shut down.******************************************************************
--------------------------------
Ladle web server
--------------------------------Prerequisites:
* Lua interpreter
* LuaSocket
* CGILua
* XML4Lua=============================================================
To start the Ladle web server:
1) Open up a shell prompt
2) Navigate to directory containing ladle.lua
3) Run "webs" scriptMake sure that the Lua intepreter is in your PATH
or you will have to type the full path to the Lua interpeter
e.g. /path/to/lua ladle.luaThe server runs by default on port 80 and can be accessed in
a web browser with http://localhostFiles served by the server should be placed in /www
=============================================================
To stop the Ladle web server:
1) Open up a shell prompt
2) Navigate to directory containing ladle.lua
3) Run "telin" script followed by port number-> E.g. "telin 80" or "./telin.sh 80"
if you ran the server on port 804) Type "kill" and hit return
=============================================================