[erlang-questions] Web toolkit, N2O guide

Wes James comptekki@REDACTED
Wed Apr 3 16:31:29 CEST 2019


Take a look at the examples.

wes

On Wed, Apr 3, 2019 at 4:21 AM Eckard Brauer <eckard.brauer@REDACTED> wrote:

> 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
>
>
>
> --
> :)
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20190403/749de5b4/attachment.htm>


More information about the erlang-questions mailing list