An example application that demonstrates how to use Lisp Flavored Erlang (LFE) with the Elli webserver.
Branch: master
Clone or download
Pull request Compare This branch is even with dry:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
src
templates
test/unit
.gitignore
.travis.yml
Makefile
README.md
common.mk
otp.mk
package.exs
rebar.config

README.md

Build Status

LFE / Elli Example Application

This is a very simple application demonstrating the use of the Elli webserver and Lisp Flavored Erlang. This example was created with LFE v0.8.

Running It

The skeleton and supporting files for this application were generated with lfetool so make sure that's installed. The Makefile has a shell target so all you have to do is:

    $ make shell

This will fetch the dependencies, compile and start the LFE shell, which should look something like this:

    Erlang R16B03-1 (erts-5.10.4) [source] [64-bit] [smp:8:8] ...

    LFE Shell V5.10.4 (abort with ^G)
    >

You can then start the application is the same way that you would an Erlang one:

     Erlang R16B03-1 (erts-5.10.4) [source] [64-bit] [smp:8:8] ...

    LFE Shell V5.10.4 (abort with ^G)
    > (application:start 'lfe-elli-example)
    ok

Then go to http://localhost:3000.