Chris McDonough avatar Chris McDonough committed 66dd2c8 Draft

use pyramid_debugtoolbar instead of weberror, use pyramid_tm instead of repoze.tm2

Comments (0)

Files changed (2)

src/stage3/development.ini

-[app:birdie]
+[app:main]
 use = egg:birdie
 reload_templates = true
 debug_authorization = false
 debug_templates = true
 default_locale_name = en
 sqlalchemy.url = sqlite:///%(here)s/birdie.db
-
-[pipeline:main]
-pipeline =
-    egg:WebError#evalerror
-    tm
-    birdie
-
-[filter:tm]
-use = egg:repoze.tm2#tm
-commit_veto = repoze.tm:default_commit_veto
+pyramid.includes = pyramid_tm
+                   pyramid_debugtoolbar
 
 [server:main]
-use = egg:Paste#http
+use = egg:waitress#main
 host = 0.0.0.0
 port = 6543
 

src/stage3/production.ini

-[app:birdie]
+[app:main]
 use = egg:birdie
 reload_templates = false
 debug_authorization = false
 debug_templates = false
 default_locale_name = en
 sqlalchemy.url = sqlite:///%(here)s/birdie.db
-
-[filter:weberror]
-use = egg:WebError#error_catcher
-debug = false
-;error_log = 
-;show_exceptions_in_wsgi_errors = true
-;smtp_server = localhost
-;error_email = janitor@example.com
-;smtp_username = janitor
-;smtp_password = "janitor's password"
-;from_address = paste@localhost
-;error_subject_prefix = "Pyramid Error"
-;smtp_use_tls =
-;error_message =
-
-[filter:tm]
-use = egg:repoze.tm2#tm
-commit_veto = repoze.tm:default_commit_veto
-
-[pipeline:main]
-pipeline =
-    weberror
-    tm
-    birdie
+pyramid.includes = pyramid_tm
+                   pyramid_debugtoolbar
 
 [server:main]
-use = egg:Paste#http
+use = egg:waitress#main
 host = 0.0.0.0
 port = 6543
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.