TODO: Add description
If available in Hex, the package can be installed
by adding helloplug
to your list of dependencies in mix.exs
:
def deps do
[
{:helloplug, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/helloplug.
To connect Helloplug to cowboy:
$ iex -S mix
Start a live server
{:ok, _} = Plug.Adapters.Cowboy.http Helloplug, []
Visit localhost:4000
Reload session to update with any code changes
r Helloplug