[erlang-questions] Web toolkit, N2O guide

Eckard Brauer eckard.brauer@REDACTED
Wed Apr 3 12:21:15 CEST 2019


Hello,

OK, tried the "Getting started" at
(https://ninenines.eu/docs/en/cowboy/2.6/guide/getting_started/).

When following that page, I don't get a 500 response as promised, but a

compile: warnings being treated as errors
src/hello_erlang_handler.erl:9: function start/2 is unused

when building. So defining routes in paragraph "Listening for
connections" should probably be corrected - what's the correct way /
where is the correct position to define routes?

Thanks in advance!
Eckard

Am Tue, 2 Apr 2019 09:57:36 +0300
schrieb Dmitry Klionsky <dm.klionsky@REDACTED>:

> +1 for cowboy.
>
> You serve static files using
> https://ninenines.eu/docs/en/cowboy/2.6/guide/static_files/
> For templating you can use https://github.com/erlydtl/erlydtl
>
>
> On 4/1/19 10:59 PM, Wes James wrote:
> > How about cowboy:
> >
> > https://github.com/ninenines/cowboy
> >
> > <snip>
> >
> >
> > -wes
> >
> > _______________________________________________
> > erlang-questions mailing list
> > erlang-questions@REDACTED
> > http://erlang.org/mailman/listinfo/erlang-questions



--
:)



More information about the erlang-questions mailing list