From: Bob I. <bo...@re...> - 2006-09-05 11:52:06
|
On 9/5/06, Torbjorn Tornkvist <to...@to...> wrote: > Hi, > > I just added start_embedded/1 and start_embedded/4 to yaws.erl. > > A quick and easy way of starting Yaws in embedded mode. > No need for any start-script switches and no dependencies > to Yaws header files. Just call either start_embedded/1 > or start_embedded/4 and you are in the air. > > yaws:start_embedded(DocRoot). > > yaws:start_embedded(DocRoot, Host, Port, Listen). > > For start_embedded/1 the following default values will be used: > > Host = "localhost" > Port = 8888 > Listen = {0,0,0,0} What about setting up appmods? -bob |