Show More
@@ -18,7 +18,7 b' syntax: regexp' | |||||
18 | ^\.project$ |
|
18 | ^\.project$ | |
19 | ^\.pydevproject$ |
|
19 | ^\.pydevproject$ | |
20 | ^\.coverage$ |
|
20 | ^\.coverage$ | |
21 | ^rhodecode\.db$ |
|
21 | ^kallithea\.db$ | |
22 | ^test\.db$ |
|
22 | ^test\.db$ | |
23 | ^RhodeCode\.egg-info$ |
|
23 | ^RhodeCode\.egg-info$ | |
24 | ^rc.*\.ini$ |
|
24 | ^rc.*\.ini$ |
@@ -15,7 +15,7 b' pdebug = false' | |||||
15 | ################################################################################ |
|
15 | ################################################################################ | |
16 | #email_to = admin@localhost |
|
16 | #email_to = admin@localhost | |
17 | #error_email_from = paste_error@localhost |
|
17 | #error_email_from = paste_error@localhost | |
18 |
#app_email_from = |
|
18 | #app_email_from = kallithea-noreply@localhost | |
19 | #error_message = |
|
19 | #error_message = | |
20 | #email_prefix = [RhodeCode] |
|
20 | #email_prefix = [RhodeCode] | |
21 |
|
21 | |||
@@ -54,7 +54,7 b' max_request_body_size = 107374182400' | |||||
54 | ## is set to more than one worker |
|
54 | ## is set to more than one worker | |
55 | #workers = 1 |
|
55 | #workers = 1 | |
56 | ## process name |
|
56 | ## process name | |
57 |
#proc_name = |
|
57 | #proc_name = kallithea | |
58 | ## type of worker class, one of sync, eventlet, gevent, tornado |
|
58 | ## type of worker class, one of sync, eventlet, gevent, tornado | |
59 | ## recommended for bigger setup is using of of other than sync one |
|
59 | ## recommended for bigger setup is using of of other than sync one | |
60 | #worker_class = sync |
|
60 | #worker_class = sync | |
@@ -71,10 +71,10 b' max_request_body_size = 107374182400' | |||||
71 | #http = 0.0.0.0:5000 |
|
71 | #http = 0.0.0.0:5000 | |
72 |
|
72 | |||
73 | ## set as deamon and redirect all output to file |
|
73 | ## set as deamon and redirect all output to file | |
74 |
#daemonize = ./uwsgi_ |
|
74 | #daemonize = ./uwsgi_kallithea.log | |
75 |
|
75 | |||
76 | ## master process PID |
|
76 | ## master process PID | |
77 |
#pidfile = ./uwsgi_ |
|
77 | #pidfile = ./uwsgi_kallithea.pid | |
78 |
|
78 | |||
79 | ## stats server with workers statistics, use uwsgitop |
|
79 | ## stats server with workers statistics, use uwsgitop | |
80 | ## for monitoring, `uwsgitop 127.0.0.1:1717` |
|
80 | ## for monitoring, `uwsgitop 127.0.0.1:1717` | |
@@ -271,8 +271,8 b' issue_prefix = #' | |||||
271 |
|
271 | |||
272 | ## instance-id prefix |
|
272 | ## instance-id prefix | |
273 | ## a prefix key for this instance used for cache invalidation when running |
|
273 | ## a prefix key for this instance used for cache invalidation when running | |
274 |
## multiple instances of |
|
274 | ## multiple instances of kallithea, make sure it's globally unique for | |
275 |
## all running |
|
275 | ## all running kallithea instances. Leave empty if you don't use it | |
276 | instance_id = |
|
276 | instance_id = | |
277 |
|
277 | |||
278 | ## alternative return HTTP header for failed authentication. Default HTTP |
|
278 | ## alternative return HTTP header for failed authentication. Default HTTP | |
@@ -360,7 +360,7 b' beaker.cache.sql_cache_long.key_length =' | |||||
360 |
|
360 | |||
361 | ## db session ## |
|
361 | ## db session ## | |
362 | #beaker.session.type = ext:database |
|
362 | #beaker.session.type = ext:database | |
363 |
#beaker.session.sa.url = postgresql://postgres:qwe@localhost/ |
|
363 | #beaker.session.sa.url = postgresql://postgres:qwe@localhost/kallithea | |
364 | #beaker.session.table_name = db_session |
|
364 | #beaker.session.table_name = db_session | |
365 |
|
365 | |||
366 | ## encrypted cookie client side session, good for many instances ## |
|
366 | ## encrypted cookie client side session, good for many instances ## | |
@@ -369,7 +369,7 b' beaker.cache.sql_cache_long.key_length =' | |||||
369 | ## file based cookies (default) ## |
|
369 | ## file based cookies (default) ## | |
370 | #beaker.session.type = file |
|
370 | #beaker.session.type = file | |
371 |
|
371 | |||
372 |
beaker.session.key = |
|
372 | beaker.session.key = kallithea | |
373 | beaker.session.secret = develop-rc-uytcxaz |
|
373 | beaker.session.secret = develop-rc-uytcxaz | |
374 |
|
374 | |||
375 | ## Secure encrypted cookie. Requires AES and AES python libraries |
|
375 | ## Secure encrypted cookie. Requires AES and AES python libraries | |
@@ -490,9 +490,9 b' logview.pylons.util = #eee' | |||||
490 | ######################################################### |
|
490 | ######################################################### | |
491 | ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ### |
|
491 | ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ### | |
492 | ######################################################### |
|
492 | ######################################################### | |
493 |
#sqlalchemy.db1.url = sqlite:///%(here)s/ |
|
493 | #sqlalchemy.db1.url = sqlite:///%(here)s/kallithea.db?timeout=30 | |
494 |
sqlalchemy.db1.url = postgresql://postgres:qweqwe@localhost/ |
|
494 | sqlalchemy.db1.url = postgresql://postgres:qweqwe@localhost/kallithea | |
495 |
#sqlalchemy.db1.url = mysql://root:qweqwe@localhost/ |
|
495 | #sqlalchemy.db1.url = mysql://root:qweqwe@localhost/kallithea | |
496 | sqlalchemy.db1.echo = false |
|
496 | sqlalchemy.db1.echo = false | |
497 | sqlalchemy.db1.pool_recycle = 3600 |
|
497 | sqlalchemy.db1.pool_recycle = 3600 | |
498 | sqlalchemy.db1.convert_unicode = true |
|
498 | sqlalchemy.db1.convert_unicode = true |
@@ -20,7 +20,7 b' pdebug = false' | |||||
20 | </%text> |
|
20 | </%text> | |
21 | #email_to = admin@localhost |
|
21 | #email_to = admin@localhost | |
22 | #error_email_from = paste_error@localhost |
|
22 | #error_email_from = paste_error@localhost | |
23 |
#app_email_from = |
|
23 | #app_email_from = kallithea-noreply@localhost | |
24 | #error_message = |
|
24 | #error_message = | |
25 | #email_prefix = [RhodeCode] |
|
25 | #email_prefix = [RhodeCode] | |
26 |
|
26 | |||
@@ -62,7 +62,7 b' use = egg:gunicorn#main' | |||||
62 | <%text>## is set to more than one worker</%text> |
|
62 | <%text>## is set to more than one worker</%text> | |
63 | workers = 1 |
|
63 | workers = 1 | |
64 | <%text>## process name</%text> |
|
64 | <%text>## process name</%text> | |
65 |
proc_name = |
|
65 | proc_name = kallithea | |
66 | <%text>## type of worker class, one of sync, eventlet, gevent, tornado</%text> |
|
66 | <%text>## type of worker class, one of sync, eventlet, gevent, tornado</%text> | |
67 | <%text>## recommended for bigger setup is using of of other than sync one</%text> |
|
67 | <%text>## recommended for bigger setup is using of of other than sync one</%text> | |
68 | worker_class = sync |
|
68 | worker_class = sync | |
@@ -80,10 +80,10 b' master = true' | |||||
80 | http = 0.0.0.0:5000 |
|
80 | http = 0.0.0.0:5000 | |
81 |
|
81 | |||
82 | <%text>## set as deamon and redirect all output to file</%text> |
|
82 | <%text>## set as deamon and redirect all output to file</%text> | |
83 |
#daemonize = ./uwsgi_ |
|
83 | #daemonize = ./uwsgi_kallithea.log | |
84 |
|
84 | |||
85 | <%text>## master process PID</%text> |
|
85 | <%text>## master process PID</%text> | |
86 |
pidfile = ./uwsgi_ |
|
86 | pidfile = ./uwsgi_kallithea.pid | |
87 |
|
87 | |||
88 | <%text>## stats server with workers statistics, use uwsgitop</%text> |
|
88 | <%text>## stats server with workers statistics, use uwsgitop</%text> | |
89 | <%text>## for monitoring</%text> |
|
89 | <%text>## for monitoring</%text> | |
@@ -275,8 +275,8 b' issue_prefix = #' | |||||
275 |
|
275 | |||
276 | <%text>## instance-id prefix</%text> |
|
276 | <%text>## instance-id prefix</%text> | |
277 | <%text>## a prefix key for this instance used for cache invalidation when running</%text> |
|
277 | <%text>## a prefix key for this instance used for cache invalidation when running</%text> | |
278 |
<%text>## multiple instances of |
|
278 | <%text>## multiple instances of kallithea, make sure it's globally unique for</%text> | |
279 |
<%text>## all running |
|
279 | <%text>## all running kallithea instances. Leave empty if you don't use it</%text> | |
280 | instance_id = |
|
280 | instance_id = | |
281 |
|
281 | |||
282 | <%text>## alternative return HTTP header for failed authentication. Default HTTP</%text> |
|
282 | <%text>## alternative return HTTP header for failed authentication. Default HTTP</%text> | |
@@ -366,7 +366,7 b' beaker.cache.sql_cache_long.key_length =' | |||||
366 | </%text> |
|
366 | </%text> | |
367 | <%text>## db session ##</%text> |
|
367 | <%text>## db session ##</%text> | |
368 | #beaker.session.type = ext:database |
|
368 | #beaker.session.type = ext:database | |
369 |
#beaker.session.sa.url = postgresql://postgres:qwe@localhost/ |
|
369 | #beaker.session.sa.url = postgresql://postgres:qwe@localhost/kallithea | |
370 | #beaker.session.table_name = db_session |
|
370 | #beaker.session.table_name = db_session | |
371 |
|
371 | |||
372 | <%text>## encrypted cookie client side session, good for many instances ##</%text> |
|
372 | <%text>## encrypted cookie client side session, good for many instances ##</%text> | |
@@ -375,7 +375,7 b' beaker.cache.sql_cache_long.key_length =' | |||||
375 | <%text>## file based cookies (default) ##</%text> |
|
375 | <%text>## file based cookies (default) ##</%text> | |
376 | #beaker.session.type = file |
|
376 | #beaker.session.type = file | |
377 |
|
377 | |||
378 |
beaker.session.key = |
|
378 | beaker.session.key = kallithea | |
379 | beaker.session.secret = ${uuid()} |
|
379 | beaker.session.secret = ${uuid()} | |
380 |
|
380 | |||
381 | <%text>## Secure encrypted cookie. Requires AES and AES python libraries</%text> |
|
381 | <%text>## Secure encrypted cookie. Requires AES and AES python libraries</%text> | |
@@ -502,13 +502,13 b' logview.pylons.util = #eee' | |||||
502 | </%text> |
|
502 | </%text> | |
503 | %if database_engine == 'sqlite': |
|
503 | %if database_engine == 'sqlite': | |
504 | # SQLITE [default] |
|
504 | # SQLITE [default] | |
505 |
sqlalchemy.db1.url = sqlite:///${here}/ |
|
505 | sqlalchemy.db1.url = sqlite:///${here}/kallithea.db?timeout=60 | |
506 | %elif database_engine == 'postgres': |
|
506 | %elif database_engine == 'postgres': | |
507 | # POSTGRESQL |
|
507 | # POSTGRESQL | |
508 |
sqlalchemy.db1.url = postgresql://user:pass@localhost/ |
|
508 | sqlalchemy.db1.url = postgresql://user:pass@localhost/kallithea | |
509 | %elif database_engine == 'mysql': |
|
509 | %elif database_engine == 'mysql': | |
510 | # MySQL |
|
510 | # MySQL | |
511 |
sqlalchemy.db1.url = mysql://user:pass@localhost/ |
|
511 | sqlalchemy.db1.url = mysql://user:pass@localhost/kallithea | |
512 | %endif |
|
512 | %endif | |
513 | # see sqlalchemy docs for others |
|
513 | # see sqlalchemy docs for others | |
514 |
|
514 |
@@ -15,7 +15,7 b' pdebug = false' | |||||
15 | ################################################################################ |
|
15 | ################################################################################ | |
16 | #email_to = admin@localhost |
|
16 | #email_to = admin@localhost | |
17 | #error_email_from = paste_error@localhost |
|
17 | #error_email_from = paste_error@localhost | |
18 |
#app_email_from = |
|
18 | #app_email_from = kallithea-noreply@localhost | |
19 | #error_message = |
|
19 | #error_message = | |
20 | #email_prefix = [RhodeCode] |
|
20 | #email_prefix = [RhodeCode] | |
21 |
|
21 | |||
@@ -54,7 +54,7 b' max_request_body_size = 107374182400' | |||||
54 | ## is set to more than one worker |
|
54 | ## is set to more than one worker | |
55 | #workers = 1 |
|
55 | #workers = 1 | |
56 | ## process name |
|
56 | ## process name | |
57 |
#proc_name = |
|
57 | #proc_name = kallithea | |
58 | ## type of worker class, one of sync, eventlet, gevent, tornado |
|
58 | ## type of worker class, one of sync, eventlet, gevent, tornado | |
59 | ## recommended for bigger setup is using of of other than sync one |
|
59 | ## recommended for bigger setup is using of of other than sync one | |
60 | #worker_class = sync |
|
60 | #worker_class = sync | |
@@ -71,10 +71,10 b' max_request_body_size = 107374182400' | |||||
71 | #http = 127.0.0.1:5000 |
|
71 | #http = 127.0.0.1:5000 | |
72 |
|
72 | |||
73 | ## set as deamon and redirect all output to file |
|
73 | ## set as deamon and redirect all output to file | |
74 |
#daemonize = ./uwsgi_ |
|
74 | #daemonize = ./uwsgi_kallithea.log | |
75 |
|
75 | |||
76 | ## master process PID |
|
76 | ## master process PID | |
77 |
#pidfile = ./uwsgi_ |
|
77 | #pidfile = ./uwsgi_kallithea.pid | |
78 |
|
78 | |||
79 | ## stats server with workers statistics, use uwsgitop |
|
79 | ## stats server with workers statistics, use uwsgitop | |
80 | ## for monitoring, `uwsgitop 127.0.0.1:1717` |
|
80 | ## for monitoring, `uwsgitop 127.0.0.1:1717` | |
@@ -271,8 +271,8 b' issue_prefix = #' | |||||
271 |
|
271 | |||
272 | ## instance-id prefix |
|
272 | ## instance-id prefix | |
273 | ## a prefix key for this instance used for cache invalidation when running |
|
273 | ## a prefix key for this instance used for cache invalidation when running | |
274 |
## multiple instances of |
|
274 | ## multiple instances of kallithea, make sure it's globally unique for | |
275 |
## all running |
|
275 | ## all running kallithea instances. Leave empty if you don't use it | |
276 | instance_id = |
|
276 | instance_id = | |
277 |
|
277 | |||
278 | ## alternative return HTTP header for failed authentication. Default HTTP |
|
278 | ## alternative return HTTP header for failed authentication. Default HTTP | |
@@ -360,7 +360,7 b' beaker.cache.sql_cache_long.key_length =' | |||||
360 |
|
360 | |||
361 | ## db session ## |
|
361 | ## db session ## | |
362 | #beaker.session.type = ext:database |
|
362 | #beaker.session.type = ext:database | |
363 |
#beaker.session.sa.url = postgresql://postgres:qwe@localhost/ |
|
363 | #beaker.session.sa.url = postgresql://postgres:qwe@localhost/kallithea | |
364 | #beaker.session.table_name = db_session |
|
364 | #beaker.session.table_name = db_session | |
365 |
|
365 | |||
366 | ## encrypted cookie client side session, good for many instances ## |
|
366 | ## encrypted cookie client side session, good for many instances ## | |
@@ -369,7 +369,7 b' beaker.cache.sql_cache_long.key_length =' | |||||
369 | ## file based cookies (default) ## |
|
369 | ## file based cookies (default) ## | |
370 | #beaker.session.type = file |
|
370 | #beaker.session.type = file | |
371 |
|
371 | |||
372 |
beaker.session.key = |
|
372 | beaker.session.key = kallithea | |
373 | beaker.session.secret = ${app_instance_uuid} |
|
373 | beaker.session.secret = ${app_instance_uuid} | |
374 |
|
374 | |||
375 | ## Secure encrypted cookie. Requires AES and AES python libraries |
|
375 | ## Secure encrypted cookie. Requires AES and AES python libraries | |
@@ -492,13 +492,13 b' logview.pylons.util = #eee' | |||||
492 | ######################################################### |
|
492 | ######################################################### | |
493 |
|
493 | |||
494 | # SQLITE [default] |
|
494 | # SQLITE [default] | |
495 |
sqlalchemy.db1.url = sqlite:///%(here)s/ |
|
495 | sqlalchemy.db1.url = sqlite:///%(here)s/kallithea.db?timeout=30 | |
496 |
|
496 | |||
497 | # POSTGRESQL |
|
497 | # POSTGRESQL | |
498 |
# sqlalchemy.db1.url = postgresql://user:pass@localhost/ |
|
498 | # sqlalchemy.db1.url = postgresql://user:pass@localhost/kallithea | |
499 |
|
499 | |||
500 | # MySQL |
|
500 | # MySQL | |
501 |
# sqlalchemy.db1.url = mysql://user:pass@localhost/ |
|
501 | # sqlalchemy.db1.url = mysql://user:pass@localhost/kallithea | |
502 |
|
502 | |||
503 | # see sqlalchemy docs for others |
|
503 | # see sqlalchemy docs for others | |
504 |
|
504 |
@@ -1,8 +1,8 b'' | |||||
1 | #!/bin/sh |
|
1 | #!/bin/sh | |
2 |
psql -U postgres -h localhost -c 'drop database if exists |
|
2 | psql -U postgres -h localhost -c 'drop database if exists kallithea;' | |
3 |
psql -U postgres -h localhost -c 'create database |
|
3 | psql -U postgres -h localhost -c 'create database kallithea;' | |
4 |
paster setup-db rc.ini --force-yes --user= |
|
4 | paster setup-db rc.ini --force-yes --user=username --password=qweqwe --email=username@example.com --repos=/home/username/repos --no-public-access | |
5 |
API_KEY=`psql -R " " -A -U postgres -h localhost -c "select api_key from users where admin=TRUE" -d |
|
5 | API_KEY=`psql -R " " -A -U postgres -h localhost -c "select api_key from users where admin=TRUE" -d kallithea | awk '{print $2}'` | |
6 | echo "run those after running server" |
|
6 | echo "run those after running server" | |
7 | paster serve rc.ini --pid-file=rc.pid --daemon |
|
7 | paster serve rc.ini --pid-file=rc.pid --daemon | |
8 | sleep 3 |
|
8 | sleep 3 |
@@ -15,7 +15,7 b' pdebug = false' | |||||
15 | ################################################################################ |
|
15 | ################################################################################ | |
16 | #email_to = admin@localhost |
|
16 | #email_to = admin@localhost | |
17 | #error_email_from = paste_error@localhost |
|
17 | #error_email_from = paste_error@localhost | |
18 |
#app_email_from = |
|
18 | #app_email_from = kallithea-noreply@localhost | |
19 | #error_message = |
|
19 | #error_message = | |
20 | #email_prefix = [RhodeCode] |
|
20 | #email_prefix = [RhodeCode] | |
21 |
|
21 | |||
@@ -54,7 +54,7 b' max_request_body_size = 107374182400' | |||||
54 | ## is set to more than one worker |
|
54 | ## is set to more than one worker | |
55 | #workers = 1 |
|
55 | #workers = 1 | |
56 | ## process name |
|
56 | ## process name | |
57 |
#proc_name = |
|
57 | #proc_name = kallithea | |
58 | ## type of worker class, one of sync, eventlet, gevent, tornado |
|
58 | ## type of worker class, one of sync, eventlet, gevent, tornado | |
59 | ## recommended for bigger setup is using of of other than sync one |
|
59 | ## recommended for bigger setup is using of of other than sync one | |
60 | #worker_class = sync |
|
60 | #worker_class = sync | |
@@ -71,10 +71,10 b' max_request_body_size = 107374182400' | |||||
71 | #http = 127.0.0.1:5000 |
|
71 | #http = 127.0.0.1:5000 | |
72 |
|
72 | |||
73 | ## set as deamon and redirect all output to file |
|
73 | ## set as deamon and redirect all output to file | |
74 |
#daemonize = ./uwsgi_ |
|
74 | #daemonize = ./uwsgi_kallithea.log | |
75 |
|
75 | |||
76 | ## master process PID |
|
76 | ## master process PID | |
77 |
#pidfile = ./uwsgi_ |
|
77 | #pidfile = ./uwsgi_kallithea.pid | |
78 |
|
78 | |||
79 | ## stats server with workers statistics, use uwsgitop |
|
79 | ## stats server with workers statistics, use uwsgitop | |
80 | ## for monitoring, `uwsgitop 127.0.0.1:1717` |
|
80 | ## for monitoring, `uwsgitop 127.0.0.1:1717` | |
@@ -271,8 +271,8 b' issue_prefix = #' | |||||
271 |
|
271 | |||
272 | ## instance-id prefix |
|
272 | ## instance-id prefix | |
273 | ## a prefix key for this instance used for cache invalidation when running |
|
273 | ## a prefix key for this instance used for cache invalidation when running | |
274 |
## multiple instances of |
|
274 | ## multiple instances of kallithea, make sure it's globally unique for | |
275 |
## all running |
|
275 | ## all running kallithea instances. Leave empty if you don't use it | |
276 | instance_id = |
|
276 | instance_id = | |
277 |
|
277 | |||
278 | ## alternative return HTTP header for failed authentication. Default HTTP |
|
278 | ## alternative return HTTP header for failed authentication. Default HTTP | |
@@ -360,7 +360,7 b' beaker.cache.sql_cache_long.key_length =' | |||||
360 |
|
360 | |||
361 | ## db session ## |
|
361 | ## db session ## | |
362 | #beaker.session.type = ext:database |
|
362 | #beaker.session.type = ext:database | |
363 |
#beaker.session.sa.url = postgresql://postgres:qwe@localhost/ |
|
363 | #beaker.session.sa.url = postgresql://postgres:qwe@localhost/kallithea | |
364 | #beaker.session.table_name = db_session |
|
364 | #beaker.session.table_name = db_session | |
365 |
|
365 | |||
366 | ## encrypted cookie client side session, good for many instances ## |
|
366 | ## encrypted cookie client side session, good for many instances ## | |
@@ -369,7 +369,7 b' beaker.cache.sql_cache_long.key_length =' | |||||
369 | ## file based cookies (default) ## |
|
369 | ## file based cookies (default) ## | |
370 | #beaker.session.type = file |
|
370 | #beaker.session.type = file | |
371 |
|
371 | |||
372 |
beaker.session.key = |
|
372 | beaker.session.key = kallithea | |
373 | beaker.session.secret = production-rc-uytcxaz |
|
373 | beaker.session.secret = production-rc-uytcxaz | |
374 |
|
374 | |||
375 | ## Secure encrypted cookie. Requires AES and AES python libraries |
|
375 | ## Secure encrypted cookie. Requires AES and AES python libraries | |
@@ -490,9 +490,9 b' logview.pylons.util = #eee' | |||||
490 | ######################################################### |
|
490 | ######################################################### | |
491 | ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ### |
|
491 | ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ### | |
492 | ######################################################### |
|
492 | ######################################################### | |
493 |
#sqlalchemy.db1.url = sqlite:///%(here)s/ |
|
493 | #sqlalchemy.db1.url = sqlite:///%(here)s/kallithea.db?timeout=30 | |
494 |
sqlalchemy.db1.url = postgresql://postgres:qweqwe@localhost/ |
|
494 | sqlalchemy.db1.url = postgresql://postgres:qweqwe@localhost/kallithea | |
495 |
#sqlalchemy.db1.url = mysql://root:qweqwe@localhost/ |
|
495 | #sqlalchemy.db1.url = mysql://root:qweqwe@localhost/kallithea | |
496 | sqlalchemy.db1.echo = false |
|
496 | sqlalchemy.db1.echo = false | |
497 | sqlalchemy.db1.pool_recycle = 3600 |
|
497 | sqlalchemy.db1.pool_recycle = 3600 | |
498 | sqlalchemy.db1.convert_unicode = true |
|
498 | sqlalchemy.db1.convert_unicode = true |
@@ -15,7 +15,7 b' pdebug = false' | |||||
15 | ################################################################################ |
|
15 | ################################################################################ | |
16 | #email_to = admin@localhost |
|
16 | #email_to = admin@localhost | |
17 | #error_email_from = paste_error@localhost |
|
17 | #error_email_from = paste_error@localhost | |
18 |
#app_email_from = |
|
18 | #app_email_from = kallithea-noreply@localhost | |
19 | #error_message = |
|
19 | #error_message = | |
20 | #email_prefix = [RhodeCode] |
|
20 | #email_prefix = [RhodeCode] | |
21 |
|
21 | |||
@@ -177,8 +177,8 b' issue_prefix = #' | |||||
177 |
|
177 | |||
178 | ## instance-id prefix |
|
178 | ## instance-id prefix | |
179 | ## a prefix key for this instance used for cache invalidation when running |
|
179 | ## a prefix key for this instance used for cache invalidation when running | |
180 |
## multiple instances of |
|
180 | ## multiple instances of kallithea, make sure it's globally unique for | |
181 |
## all running |
|
181 | ## all running kallithea instances. Leave empty if you don't use it | |
182 | instance_id = |
|
182 | instance_id = | |
183 |
|
183 | |||
184 | ## alternative return HTTP header for failed authentication. Default HTTP |
|
184 | ## alternative return HTTP header for failed authentication. Default HTTP | |
@@ -260,7 +260,7 b' beaker.cache.sql_cache_long.key_length =' | |||||
260 |
|
260 | |||
261 | ## db session ## |
|
261 | ## db session ## | |
262 | #beaker.session.type = ext:database |
|
262 | #beaker.session.type = ext:database | |
263 |
#beaker.session.sa.url = postgresql://postgres:qwe@localhost/ |
|
263 | #beaker.session.sa.url = postgresql://postgres:qwe@localhost/kallithea | |
264 | #beaker.session.table_name = db_session |
|
264 | #beaker.session.table_name = db_session | |
265 |
|
265 | |||
266 | ## encrypted cookie client side session, good for many instances ## |
|
266 | ## encrypted cookie client side session, good for many instances ## | |
@@ -270,7 +270,7 b' beaker.cache.sql_cache_long.key_length =' | |||||
270 | #beaker.session.type = file |
|
270 | #beaker.session.type = file | |
271 |
|
271 | |||
272 |
|
272 | |||
273 |
beaker.session.key = |
|
273 | beaker.session.key = kallithea | |
274 | ## secure cookie requires AES python libraries |
|
274 | ## secure cookie requires AES python libraries | |
275 | #beaker.session.encrypt_key = <key_for_encryption> |
|
275 | #beaker.session.encrypt_key = <key_for_encryption> | |
276 | #beaker.session.validate_key = <validation_key> |
|
276 | #beaker.session.validate_key = <validation_key> |
General Comments 0
You need to be logged in to leave comments.
Login now