formido / static-plug-example

Example of an Elixir static plug application.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Elixir Static Plug Example

An example or template to quickly bootstrap a web endpoint with an Elixir plug application serving static files.

  1. git clone https://github.com/formido/static-plug-example.git
  2. cd static-plug-example
  3. mix deps.get
  4. iex -S mix
  5. Run curl localhost:8000/static/hello.html from another shell.

About

Example of an Elixir static plug application.


Languages

Language:Elixir 99.6%Language:HTML 0.4%