Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Latest commit

 

History

History
67 lines (39 loc) · 1.72 KB

README.md

File metadata and controls

67 lines (39 loc) · 1.72 KB

lfeyawsdemo

A Sample LFE+YAWS Web Application

Contents

Introduction

This is a quick demonstration application built using YAWS and LFE, with additional supporting libraries.

Dependencies

This demo assumes you have docker installed on your system -- that's it!

Starting

To run the sample LFE/YAWS app, just do:

$ make run

Or, if you don't want to download this repo, you can just do this instead:

$ docker run -it -p 5099:5099 lfex/lfeyawsdemo

The make target will build and run the app, the docker command will just download the pre-build Docker image.

After a short while, you will see output like the following:

2019-05-17 00:41:19.894 [<0.134.0>] [info] Yaws: Listening to 0.0.0.0:5099 for <1> virtual servers:
 - http://localhost:5099 under /lfeyawsdemo/priv/www

Viewing

As soon as you see the above message in the output, you're ready to visit the site:

This should load up a page that looks like the following:

If you're curious about the dependencies and versions, there's a page for that, too ;-)