[erlang-questions] problems with cowboy hello world

Loïc Hoguin essen@REDACTED
Thu Mar 12 16:54:39 CET 2015


On 03/12/2015 04:51 PM, Garry Hodgson wrote:
> On 3/12/15 4:51 AM, Loïc Hoguin wrote:
>>
>> Make sure you read the correct version of the docs. If it helps you
>> can install the man pages of the version you're using with "make docs
>> ; make install-docs" and then man COWBOY_MODULE will work.
> ah, that helps a lot. i assume that for now i should be using 1.0.x?
>
> i'm using:
>     make -f erlang.mk bootstrap bootstrap-rel
>      add "DEPS=cowboy to Makefile
>      make deps

That gets you 1.0.x.

> as shown in the getting started guide. is there a way to ensure that
> i get a specific branch/version/commit using that?

Sure, add a dep_cowboy line like

dep_cowboy = git https://github.com/ninenines.cowboy 1.2.3

(Note there is no such thing as 1.2.3 version; you should replace it 
with the tag/branch/commit you want.)

-- 
Loïc Hoguin
http://ninenines.eu



More information about the erlang-questions mailing list