TestLighttpdWebserver

Summary

lighttpd is a lightweight webserver. The purpose is to provide a simple alternative to new (or old) developers to get a svn checkout up and running in a quick way (see GettingStarted).

Using

Starting the server is deadly simple: just execute tools/lighttpd.pl from your Foswiki working copy. This script generates a lighttpd configuration file in a temporary directory, executes lighttpd in foreground (i.e. blocks your terminal), and deletes the configuration file after the server is stopped. To stop the server you just have to type Control-C on the terminal.

Advantages

  • It's simple to have Foswiki running for development purposes
  • Error messages are printed to your terminal window, so debugging is easier
  • ...



Discussion

Since this is a standalone script that does not need to be released at all, AFAICT it has no impact on the rest of Foswiki.

-- AntonioTerceiro - 29 Dec 2008

No Foswiki code is affected by this, but I don't know if it would be acceptable to just add it to tools/ or if it's better to follow the regular change proposal workflow. Any input is appreciated.

-- AntonioTerceiro - 29 Dec 2008

I liked this script a lot! Together with ./pseudo-install.pl -A developer we get a ready-to-use/test foswiki really fast smile

Since it doesn't impact on the rest of Foswiki and is not released, I'd say to just commit it smile

Anyway I added myself as CommittedDeveloper and today as DateOfCommitment.

-- GilmarSantosJr - 18 Jan 2009

Yes this is out of the scope where release process decisions are needed. You can go ahead and check in this in the tools directory since it is a service to developers and have no effect on what we release - except making it better wink

-- KennethLavrsen - 28 Jan 2009

Just commited it then. Thanks for the feedback.

-- AntonioTerceiro - 30 Jan 2009
I Attachment Action Size Date Who Comment
lighttpd.pl.txttxt lighttpd.pl.txt manage 1 K 29 Dec 2008 - 03:51 AntonioTerceiro current version of the script
Topic revision: r4 - 30 Jan 2009, AntonioTerceiro
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy