Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Version 2 (modified by hdiogenes, 13 years ago) (diff)

Adding tg version number note.

This document was written for TurboGears version 0.9a9.

When a project is started in development mode, TurboGears automatically announces its IP address and port number to the network. This is done through  Zeroconf (AKA Apple Bonjour/Rendezvous?), especifically the DNS Service Discovery protocol. To disable DNS-SD announcements (or enable it in production environments), use the tg.bonjour variable.

Mac OS X

Service announcement works out of the box in Mac OS X (through the "/usr/bin/dns-sd" binary). To see the list of HTTP services published in your network, open Safari and enable "Bonjour bookmarks" in the "Bookmark preferences" tab.


Zeroconf support for Linux isn't built into TurboGears yet (you'll have to apply this patch in To actually see it working, first install  Avahi and its Gnome applet (in Ubuntu Dapper: apt-get install avahi-daemon service-discovery-applet).

After adding sd-applet to your Gnome Panel, make sure it has "Services - _http._tcp" and "Advanced - Browse services published on this machine" enabled in Preferences.


TurboGears support for Zeroconf isn't available on Windows yet.