lfe-deprecated / lfeyawsdemo

A Sample LFE+YAWS Web Application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 ;-)

About

A Sample LFE+YAWS Web Application


Languages

Language:LFE 68.5%Language:Erlang 15.8%Language:CSS 6.1%Language:Makefile 5.0%Language:Dockerfile 2.7%Language:Shell 1.9%