forked from Perl-Evozon/PearlBee
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathconfig.yml
120 lines (104 loc) · 2.86 KB
/
config.yml
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# This is the main configuration file of your Dancer2 app
# env-related settings should go to environments/$env.yml
# all the settings in this file will be loaded at Dancer's startup.
# Your application's name
appname: "Blogs.Perl.Org"
# The default layout to use for your application (located in
# views/layouts/main.tt)
layout: "main"
# when the charset is set to UTF-8 Dancer2 will handle for you
# all the magic of encoding and decoding. You should not care
# about unicode within your app when this setting is set (recommended).
charset: "UTF-8"
# template engine
# simple: default and very basic template engine
# template_toolkit: TT
session: YAML
#Logging
#logger: "file"
#log: "error"
template: "template_toolkit"
engines:
session:
YAML:
session_dir: "sessions"
mail_server:
user: '[email protected]'
password:
host: 'mail.evozon.com'
port: 587
plugins:
DBIC:
default:
dsn: dbi:Pg:database=blogs_perl_org;host=139.162.204.109
schema_class: PearlBee::Model::Schema
user: jgoff
password:
options:
RaiseError: 1
PrintError: 1
pg_enable_utf8: 1
feed:
title: 'blogs.perl.org'
format: 'Atom'
max_posts: 10
reCAPTCHA:
site_key:
secret:
options:
theme: 'light'
type: 'image'
size: 'normal'
social_media:
callback_base_uri: 'http://localhost:5000/'
facebook:
client_id:
client_secret:
twitter:
consumer_key:
consumer_secret:
owner_id:
google:
client_id:
client_secret:
github:
client_id:
client_secret:
linkedin:
client_id:
client_secret:
# Avatars
avatar:
path: 'userpics/userpics/'
format: 'userpic-%d-100x100.png'
bounds:
height: 140
width: 140
default:
dark: 'blog/img/male-user.png'
light: 'blog/img/male-user-light.png'
# Constants
covers_folder: 'public/uploads/covers/'
import_folder: 'public/uploads/import/'
images_folder: 'public/uploads/images/'
images_path: '/uploads/images'
app_url: 'http://localhost:5051'
email_templates: 'views/emails/'
# Images from MovableType
movable_type_url: 'http://blogs.perl.org'
user_assets: '/home/jgoff/'
user_avatars: '/home/jgoff/'
user_pics: '/home/jgoff/userpics/userpics'
# number of items to display per page
blogs:
user_posts: 10
default_name: 'I Blog about Perl'
default_description: 'A blog about the Perl programming language'
# Specifics
email_signature: 'The Blogs.Perl.Org Team'
default_email_sender: '[email protected]'
welcome_email_subject: 'Welcome to Blogs.Perl.Org!'
posts_on_page: 5
blogs_on_page: 5
search:
user_posts: 10