WebGUI
      Click here to register.
      
irc://irc.freenode.net#webgui

iPhoneGuy: WebGUI is a pile of crap.
rizen: If WebGUI is such a pile of crap, why do you use it?
iPhoneGuy: Because it's the best pile of crap out there.

If this is what people who hate us are saying, imagine what people who love us will say. Come join us on IRC.

Configure the WRE for Developers

It's relatively easy to set up the WRE for development purposes. Just follow these simple steps to success.

Building WRE

If you are building the WRE from scratch, you can run `./build.sh --with-wdk` to eliminate non-necessary prereqs files such as man pages. See the makeItSmall() function in the build.sh script.

Installing WRE

Install the WRE as normal, except that when the setup script asks you whether you want to use the WRE for development purposes, say yes.

If you are a core developer and have access to the WebGUI Subversion repostiory, run the following commands to set up the WRE with the SVN version:

cp -R /data/WebGUI/etc /tmp/webguiconfigs
rm -Rf /data/WebGUI
cd /data
svn co https://svn.webgui.org/plainblack/WebGUI
cp /tmp/etc/log.conf /data/WebGUI/etc/
cp /tmp/etc/spectre.conf /data/WebGUI/etc/
cp /tmp/etc/dev.localhost.localdomain.conf /data/WebGUI/etc/

If you're just developing your own plugin's for WebGUI, you can skip the above steps or use the above steps to connect to your own subversion repository. 


Restart

Don't forget to restart modperl and modproxy after making these changes.

/data/wre/sbin/rc.webgui restartweb

What WRE Dev Mode Does For You

Setting the WRE up in Dev mode does the following things:

  • creates your dev instance for you rather than you having to run addsite yourself
  • tweaks a few templates to turn on things like Apache2::Reload so that you don't have to restart modperl to make changes to source files come into effect

Keywords: developers wre