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

Ticket #1227 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

sync /branches/1.0, /trunk qstemplates: dev.cfg sample-prod.cfg release.py

Reported by: jeffk Owned by: anonymous
Priority: low Milestone:
Component: tg-admin (non-toolbox) Version: trunk
Severity: trivial Keywords: quickstart template


Attached are two patches to remove a few spurious differences between the /trunk and /branches/1.0 versions of qstemplates files: dev.cfg_tmpl sample-prod.cfg_tmpl release.py_tmpl


Index: quickstart/dev.cfg_tmpl
--- quickstart/dev.cfg_tmpl     (revision 2339)
+++ quickstart/dev.cfg_tmpl     (working copy)
@@ -12,11 +12,11 @@
 # pick the form for your database
 # sqlalchemy.dburi="postgres://username@hostname/databasename"
 # sqlalchemy.dburi="mysql://username:password@hostname:port/databasename"
-# sqlalchemy.dburi="sqlite://%(current_dir_uri)s/devdata.sqlite"
+# sqlalchemy.dburi="sqlite:///file_name_and_path"
 # If you have sqlite, here's a simple default to get you started
 # in development
 # set to 1 to make SQLAlchemy echo SQL commands on the console
 sqlalchemy.echo = 0
Index: quickstart/sample-prod.cfg_tmpl
--- quickstart/sample-prod.cfg_tmpl     (revision 2339)
+++ quickstart/sample-prod.cfg_tmpl     (working copy)
@@ -53,15 +53,23 @@
 # session_filter.on = True
+# Set to True if you are deploying your App behind a proxy
+# e.g. Apache using mod_proxy
+# base_url_filter.on = False
+# Set to True if your proxy adds the x_forwarded_host header
+# base_url_filter.use_x_forwarded_host = True
+# If your proxy does not add the x_forwarded_host header, set
+# the following to the *public* host url.
+# (Note: This will be overridden by the use_x_forwarded_host option
+# if it is set to True and the proxy adds the header correctly.
+# base_url_filter.base_url = "http://www.example.com"
 # Set to True if you'd like to abort execution if a controller gets an
 # unexpected parameter. False by default
 # tg.strict_parameters = False
-# Set the following to True if you are deploying your app using mod_proxy,
-# mod_rewrite or any other mechanism that forwards requests to your app.
-# base_url_filter.on = False
-# base_url_filter.use_x_forwarded_host = False
 # Logging configuration generally follows the style of the standard
 # Python logging module configuration. Note that when specifying


Index: qsbase/+package+/release.py_tmpl
--- qsbase/+package+/release.py_tmpl    (revision 2339)
+++ qsbase/+package+/release.py_tmpl    (working copy)
@@ -3,7 +3,7 @@
 version = "1.0"
 # description = "Your plan to rule the world"
-# long_description = "More description about your plan" 
+# long_description = "More description about your plan"
 # author = "Your Name Here"
 # email = "YourEmail@YourDomain"
 # copyright = "Vintage 2006 - a good year indeed"

Change History

comment:1 Changed 12 years ago by jeffk

Can't attach files to tickets with new trac setup yet, sorry.

comment:2 Changed 12 years ago by fredlin

  • Status changed from new to closed
  • Resolution set to fixed

I've committed /sample-prod.cfg_tmpl but preserved dev.cfg_tmpl, since this syntax:


might be a problem related with #1170

Note: See TracTickets for help on using tickets.