Configuration

The quickstart created three configuration files (dev.cfg and prod.cfg, in the top level directory and yourpackage/config/app.cfg) for you. dev.cfg and prod.cfg are deployment configs and contain the settings that apply for a given deployment scenario (development and production, respectively). app.cfg is your application config and contains settings that apply regardless of where your app is deployed. One of the great things about these files is that you can create entire database-driven apps only needing to change a single line in the config file.

The startup script looks to see if setup.py is present in your current directory and, if it is, assumes you're running in development mode and uses dev.cfg. Otherwise, it will look for prod.cfg in your current directory. You can also tell the startup script which configuration file to use on the command line.