comparison examples/turbogears/sample-prod.cfg @ 110:64ff134868c4 trunk

update the example TurboGears app and include an example of using TurboGears wigets
author mgood
date Fri, 28 Jul 2006 18:57:55 +0000
parents 49364e784c47
children 84168828b074
comparison
equal deleted inserted replaced
109:230ee6a2c6b2 110:64ff134868c4
4 # as a command-line option to your start script. 4 # as a command-line option to your start script.
5 # Settings that are the same for both development and production 5 # Settings that are the same for both development and production
6 # (such as template engine, encodings, etc.) all go in 6 # (such as template engine, encodings, etc.) all go in
7 # markuptest/config/app.cfg 7 # markuptest/config/app.cfg
8 8
9 # DATABASE
10
11 # pick the form for your database 9 # pick the form for your database
12 # sqlobject.dburi="postgres://username@hostname/databasename" 10 # sqlobject.dburi="postgres://username@hostname/databasename"
13 # sqlobject.dburi="mysql://username:password@hostname:port/databasename" 11 # sqlobject.dburi="mysql://username:password@hostname:port/databasename"
14 # sqlobject.dburi="sqlite:///file_name_and_path" 12 # sqlobject.dburi="sqlite:///file_name_and_path"
13
14 # If you have sqlite, here's a simple default to get you started
15 # in development
16 sqlobject.dburi="sqlite://%(current_dir_uri)s/devdata.sqlite"
17
15 18
16 # if you are using a database or table type without transactions 19 # if you are using a database or table type without transactions
17 # (MySQL default, for example), you should turn off transactions 20 # (MySQL default, for example), you should turn off transactions
18 # by prepending notrans_ on the uri 21 # by prepending notrans_ on the uri
19 # sqlobject.dburi="notrans_mysql://username:password@hostname:port/databasename" 22 # sqlobject.dburi="notrans_mysql://username:password@hostname:port/databasename"
20 23
21 # for Windows users, sqlite URIs look like: 24 # for Windows users, sqlite URIs look like:
22 # sqlobject.dburi="sqlite:///drive_letter|/path/to/file" 25 # sqlobject.dburi="sqlite:///drive_letter:/path/to/file"
23 26
24 27
25 # SERVER 28 # SERVER
26 29
27 server.environment="production" 30 server.environment="production"
Copyright (C) 2012-2017 Edgewall Software