浏览代码

remove useless files + some minor renaming pod -> tracim

Damien ACCORSI 10 年前
父节点
当前提交
e263b02e86
共有 2 个文件被更改,包括 21 次插入12 次删除
  1. 4 1
      .gitignore
  2. 17 11
      tracim/development.ini.base

+ 4 - 1
.gitignore 查看文件

55
 tg2env/
55
 tg2env/
56
 
56
 
57
 # cache
57
 # cache
58
-pboard/data/
58
+tracim/data/
59
 
59
 
60
 # Site-local config file
60
 # Site-local config file
61
 development.ini
61
 development.ini
62
+
63
+# Temporary files
64
+*~

+ 17 - 11
tracim/development.ini.base 查看文件

1
 #
1
 #
2
-# pod - TurboGears 2 development environment configuration
2
+# tracim - TurboGears 2 development environment configuration
3
 #
3
 #
4
 # The %(here)s variable will be replaced with the parent directory of this file
4
 # The %(here)s variable will be replaced with the parent directory of this file
5
 #
5
 #
23
 cookie_secret = 3283411b-1904-4554-b0e1-883863b53080
23
 cookie_secret = 3283411b-1904-4554-b0e1-883863b53080
24
 
24
 
25
 [app:main]
25
 [app:main]
26
-use = egg:pod
26
+use = egg:tracim
27
 full_stack = true
27
 full_stack = true
28
-#lang = fr_FR
28
+lang = fr
29
 cache_dir = %(here)s/data
29
 cache_dir = %(here)s/data
30
-beaker.session.key = pod
30
+beaker.session.key = tracim
31
 beaker.session.secret = 3283411b-1904-4554-b0e1-883863b53080
31
 beaker.session.secret = 3283411b-1904-4554-b0e1-883863b53080
32
 
32
 
33
 #By default session is store in cookies to avoid the overhead
33
 #By default session is store in cookies to avoid the overhead
54
 # invalidate the URI when specifying a SQLite db via path name
54
 # invalidate the URI when specifying a SQLite db via path name
55
 # sqlalchemy.url=postgresql://username:password@hostname:port/databasename
55
 # sqlalchemy.url=postgresql://username:password@hostname:port/databasename
56
 # sqlalchemy.url=mysql://username:password@hostname:port/databasename
56
 # sqlalchemy.url=mysql://username:password@hostname:port/databasename
57
-sqlalchemy.url = postgresql://pod_user:pod_user_password@127.0.0.1:5432/pod
57
+sqlalchemy.url = postgresql://tracim_user:tracim_user_password@127.0.0.1:5432/tracim
58
 
58
 
59
 #echo shouldn't be used together with the logging module.
59
 #echo shouldn't be used together with the logging module.
60
 sqlalchemy.echo = false
60
 sqlalchemy.echo = false
80
 # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
80
 # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
81
 # Debug mode will enable the interactive debugging tool, allowing ANYONE to
81
 # Debug mode will enable the interactive debugging tool, allowing ANYONE to
82
 # execute malicious code after an exception is raised.
82
 # execute malicious code after an exception is raised.
83
-#set debug = false
83
+# set debug = false
84
 
84
 
85
 # Logging configuration
85
 # Logging configuration
86
 # Add additional loggers, handlers, formatters here
86
 # Add additional loggers, handlers, formatters here
87
-# Uses python's logging config file format
87
+# Uses pythons logging config file format
88
 # http://docs.python.org/lib/logging-config-fileformat.html
88
 # http://docs.python.org/lib/logging-config-fileformat.html
89
 
89
 
90
 #turn this setting to "min" if you would like tw to produce minified
90
 #turn this setting to "min" if you would like tw to produce minified
94
 # if you want to setup analytics like piwik or google analytics, then put the js code in a file and set file path below
94
 # if you want to setup analytics like piwik or google analytics, then put the js code in a file and set file path below
95
 #js_tracker_path = analytics.js
95
 #js_tracker_path = analytics.js
96
 
96
 
97
+
98
+# resetpassword.email_sender = email@sender.com
99
+# resetpassword.smtp_host = smtp.sender
100
+# resetpassword.smtp_port = 25
101
+
102
+
97
 [loggers]
103
 [loggers]
98
-keys = root, pod, sqlalchemy, auth
104
+keys = root, tracim, sqlalchemy, auth
99
 
105
 
100
 [handlers]
106
 [handlers]
101
 keys = console
107
 keys = console
108
 level = INFO
114
 level = INFO
109
 handlers = console
115
 handlers = console
110
 
116
 
111
-[logger_pod]
117
+[logger_tracim]
112
 level = DEBUG
118
 level = DEBUG
113
 handlers =
119
 handlers =
114
-qualname = pod
120
+qualname = tracim
115
 
121
 
116
 [logger_sqlalchemy]
122
 [logger_sqlalchemy]
117
-level = INFO
123
+level = WARN
118
 handlers =
124
 handlers =
119
 qualname = sqlalchemy.engine
125
 qualname = sqlalchemy.engine
120
 # "level = INFO" logs SQL queries.
126
 # "level = INFO" logs SQL queries.