[erlang-questions] Web toolkit, N2O guide
Eckard Brauer
eckard.brauer@REDACTED
Wed Apr 3 18:44:17 CEST 2019
Hello Wes,
was my fault - I put the start/2 into hello_erlang_handler instead of
*_app by accident (in fact, I made a shell script, and that was a
consequence of copy/paste).
But thanks for the hints - I appreciate both the simplicity and
expressiveness of Erlang.
Cheers,
Eckard
Am Wed, 3 Apr 2019 08:31:29 -0600
schrieb Wes James <comptekki@REDACTED>:
> 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
> >
--
:)
More information about the erlang-questions
mailing list