${tg.sitename}: Configuration

Configuration

Most of the configuration has to be done through the configuration files for now. The default configuration file is included in the egg distribution under the filename config/default.cfg. You can copy it and adapt it to your needs, all configuration settings are thoroughly commented. Be sure to restart the server if you change the configuration and give the configuration file as the first argument to the eggbaset-server command.

Database administration

If you install the dbsprockets package, you will have access to a basic database administration interface here, where you can create users, groups and assign permissions. This is not very polished at the moment, so dbsprockets is not installed by default.

To install dbsprockets, do the following and then restart the server.:

  [sudo] easy_install dbsprockets
  

Current configuration

Setting Description Value
eggbasket.sitename Site name ${tg.config('eggbasket.sitename', '<default>')}
eggbasket.package_root Package root ${tg.config('eggbasket.package_root', '<current dir (%s)>' % pkg_root)}
eggbasket.package_extensions Recognized package extensions ${", ".join(tg.config('eggbasket.package_extensions', []))}
eggbasket.pkg_info.sort_order Sort order for package description fields ${", ".join(tg.config('eggbasket.pkg_info.sort_order', []))}
eggbasket.pkg_desc_format Package description markup format ${tg.config('eggbasket.pkg_desc_format', '<default>')}
error_catcher.on Enable custom HTML error pages ${tg.config('error_catcher.on', False)}
mail.on Send email notifications for unexpected errors ${tg.config('mail.on', False)}