root / elixir / trunk / examples / videostore / dev.cfg

Revision 11, 1.6 kB (checked in by cleverdevil, 5 years ago)

Initial import of a TurboGears sample application for our declarative
layer for SQLAlchemy. The example includes a pre-populated sqlite
database, and an identity model.

Line 
1[global]
2# This is where all of your settings go for your development environment
3# Settings that are the same for both development and production
4# (such as template engine, encodings, etc.) all go in
5# videostore/config/app.cfg
6
7# DATABASE
8
9# driver://username:password@host:port/database
10
11# pick the form for your database
12# sqlalchemy.dburi="postgres://username@hostname/databasename"
13# sqlalchemy.dburi="mysql://username:password@hostname:port/databasename"
14# sqlalchemy.dburi="sqlite://%(current_dir_uri)s/devdata.sqlite"
15
16# If you have sqlite, here's a simple default to get you started
17# in development
18sqlalchemy.dburi="sqlite:///devdata.sqlite"
19
20# set to 1 to make SQLAlchemy echo SQL commands on the console
21sqlalchemy.echo = 0
22
23# SERVER
24
25# Some server parameters that you may want to tweak
26# server.socket_port=8080
27
28# Enable the debug output at the end on pages.
29# log_debug_info_filter.on = False
30
31server.environment="development"
32autoreload.package="videostore"
33
34# session_filter.on = True
35
36# Set to True if you'd like to abort execution if a controller gets an
37# unexpected parameter. False by default
38tg.strict_parameters = True
39
40# LOGGING
41# Logging configuration generally follows the style of the standard
42# Python logging module configuration. Note that when specifying
43# log format messages, you need to use *() for formatting variables.
44# Deployment independent log configuration is in videostore/config/log.cfg
45[logging]
46
47[[loggers]]
48[[[videostore]]]
49level='DEBUG'
50qualname='videostore'
51handlers=['debug_out']
52
53[[[allinfo]]]
54level='INFO'
55handlers=['debug_out']
56
57[[[access]]]
58level='INFO'
59qualname='turbogears.access'
60handlers=['access_out']
61propagate=0
Note: See TracBrowser for help on using the browser.