ferron

Ferron is a fast and simple static website generator made with Lua.
Log | Files | Refs | Submodules | README | LICENSE

commit f950ac4968464931b98199e57adc1e1d7a0c2b0c
parent 2a7ccdd56db8149523ad185a555161829a919cab
Author: Hugo Soucy <hsoucy@kronostechnologies.com>
Date:   Wed, 28 Mar 2018 13:57:43 -0400

Add a script to test pegasus.lua

Diffstat:
Atest-pegasys-server.lua | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/test-pegasys-server.lua b/test-pegasys-server.lua @@ -0,0 +1,10 @@ +local pegasus = require 'pegasus' + +local server = pegasus:new({ + port='8181', + location='/sites/hugo.soucy.cc/public_html/' +}) + +server:start(function (request, response) + print "It's running..." +end)