From: <kl...@ta...> - 2006-09-05 07:28:19
|
Torbjorn Tornkvist 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} > > > Cheers, Tobbe > excellent, make sure you also update the docs man/yaws.1 and www/embed.yaws /klacke |