-
Notifications
You must be signed in to change notification settings - Fork 7
/
iota.conf
92 lines (83 loc) · 2.18 KB
/
iota.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# rename this file to iota::pcs.yml and put a ':' after 'name' if
# you want to use YAML like in old versions of Catalyst
name Iota
admin_langs_id=1
default_lang=pt-br
forced_langs=pt-br,es
available_langs=pt-br,es
<model DB>
<connect_info>
dsn dbi:Pg:dbname=iota_dev
AutoCommit 1
quote_char "\""
name_sep "."
user postgres
pg_enable_utf8 1
auto_savepoint 1
</connect_info>
<testing_connect_info>
dsn dbi:Pg:dbname=iota_dev
AutoCommit 1
quote_char "\""
name_sep "."
user postgres
pg_enable_utf8 1
auto_savepoint 1
</testing_connect_info>
<development_connect_info>
dsn dbi:Pg:dbname=iota_primeirainfancia
AutoCommit 1
quote_char "\""
name_sep "."
user postgres
pg_enable_utf8 1
auto_savepoint 1
</development_connect_info>
</model>
<downloads>
tmp_dir = /tmp/
</downloads>
# use a configuracao iota_pcs_local.conf para a configuracao dos dados reais
# e tome cuidado para nao enviar para o github!
<email>
template_path root/src/email_templates
from [email protected]
<transport>
class SMTP::TLS
<opts>
host "smtp.gmail.com"
port 587
username "[email protected]"
password "lalala"
</opts>
</transport>
</email>
<plugin Authentication>
default_realm default
<realms>
<default>
<credential>
class Password
password_field password
password_type self_check
</credential>
<store>
class DBIx::Class
user_model DB::User
role_relation roles
role_field name
</store>
</default>
<enduser>
<credential>
class Password
password_field password
password_type self_check
</credential>
<store>
class DBIx::Class
user_model DB::EndUser
</store>
</enduser>
</realms>
</plugin>