A Sample LFE+YAWS Web Application
This is a quick demonstration application built using YAWS and LFE, with additional supporting libraries.
This demo assumes you have the following installed on your system:
build-essentialor the equivalent developer tools (including autotools,
- Any system-specific YAWS dependencies (e.g.,
To run the sample LFE/YAWS app, just do:
$ make run
This will download and build the dependencies as well as attempt to compile
YAWS for you. If you are not running on Linux, this may not work and you will
need to swtch to
_build/default/lib/yaws, scan the
READMEs and then
After a successful
make run you will see output like the following:
=INFO REPORT==== 8-Apr-2016::19:50:15 === yaws debug:Running with id="lfeyawsdemo" Running with debug checks turned on (slower server) Logging to directory "lfeyawsdemo/log"
make run command shows YAWS starting, it's ready to view in a
This should load up a page that looks like the following:
This project was originally derrived from the LFE/YAWS Docker sample app. However, after that code was used to generate the lfeyawsdemo project, the original was updated to use the new lfeyawsdemo project. As such, both projects now use the same code.