hexedpackets / trot

An Elixir web micro-framework.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example App

rizafahmi opened this issue · comments

Is there any example app? I can't get the Cowboy to start :'(

** (Mix) Could not start application trot_icip: TrotIcip.start(:normal, []) returned an error: shutdown: failed to start child: {:ranch_listener_sup, TrotIcip.Router.HTTP} ** (EXIT) exited in: :gen_server.call(:ranch_server, {:set_new_listener_opts, TrotIcip.Router.HTTP, 1024, [env: [dispatch: [{:_, [], [{:_, [], Plug.Adapters.Cowboy.Handler, {TrotIcip.Router, []}}]}]], compress: false]}) ** (EXIT) no process

I put together a quick example application here: https://github.com/hexedpackets/trot_example

Did you add :trot to the list of applications in your mix.exs?

Hah, forgot that one :) Thanks for the example