[erlang-questions] Web toolkit, N2O guide
Hugo Mills
hugo@REDACTED
Wed Apr 3 12:31:29 CEST 2019
On Wed, Apr 03, 2019 at 12:21:15PM +0200, Eckard Brauer 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
Is the function exported?
Hugo.
> 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
>
>
>
--
Hugo Mills | "I don't like the look of it, I tell you."
hugo@REDACTED carfax.org.uk | "Well, stop looking at it, then."
http://carfax.org.uk/ |
PGP: E2AB1DE4 | The Goons
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20190403/08c21af8/attachment.bin>
More information about the erlang-questions
mailing list