Browse Source

add parameters to the .ini file:

Damien ACCORSI 10 years ago
parent
commit
e7f5b30a1e
1 changed files with 22 additions and 2 deletions
  1. 22 2
      tracim/development.ini.base

+ 22 - 2
tracim/development.ini.base View File

@@ -32,7 +32,8 @@ cookie_secret = 3283411b-1904-4554-b0e1-883863b53080
32 32
 [app:main]
33 33
 use = egg:tracim
34 34
 full_stack = true
35
-lang = fr
35
+# You can set french as default language by uncommenting next line
36
+# lang = fr
36 37
 cache_dir = %(here)s/data
37 38
 beaker.session.key = tracim
38 39
 beaker.session.secret = 3283411b-1904-4554-b0e1-883863b53080
@@ -61,7 +62,7 @@ beaker.session.validate_key = 3283411b-1904-4554-b0e1-883863b53080
61 62
 # invalidate the URI when specifying a SQLite db via path name
62 63
 # sqlalchemy.url=postgresql://username:password@hostname:port/databasename
63 64
 # sqlalchemy.url=mysql://username:password@hostname:port/databasename
64
-sqlalchemy.url = postgresql://tracim_user:tracim_user_password@127.0.0.1:5432/tracim
65
+sqlalchemy.url = postgresql://tracim_user:tracim_user_password@127.0.0.1:5432/tracim?client_encoding=utf8
65 66
 
66 67
 #echo shouldn't be used together with the logging module.
67 68
 sqlalchemy.echo = false
@@ -112,6 +113,25 @@ toscawidgets.framework.resource_variant=debug
112 113
 # resetpassword.smtp_port = 25
113 114
 
114 115
 
116
+website.title = TRACIM - BOB
117
+website.title.color = #555
118
+# The following base_url is used for links and icons
119
+# integrated in the email notifcations
120
+website.base_url = http://127.0.0.1:8080
121
+    
122
+email.notification.from = Tracim Notification <noreply@trac.im>
123
+email.notification.content_update.template.html = ./tracim/templates/mail/content_update_body_html.mak
124
+email.notification.content_update.template.text = ./tracim/templates/mail/content_update_body_text.mak
125
+# Note: items between { and } are variable names. Do not remove / rename them
126
+email.notification.content_update.subject = [{website_title}] [{workspace_label}] {content_label} ({content_status_label})
127
+# processing_mode may be sync or async
128
+email.notification.processing_mode = sync
129
+email.notification.smtp.server = your_smtp_server
130
+email.notification.smtp.port = 25
131
+email.notification.smtp.user = your_smtp_user
132
+email.notification.smtp.password = your_smtp_password
133
+
134
+
115 135
 #####
116 136
 #
117 137
 # All configuration below is about logging.