aboutsummaryrefslogtreecommitdiffstats
path: root/config/general.yml-example
blob: 8acea374b48c224d4a61169d7a2bbde9484b1fa6 (plain)
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
# general.yml-example:
# Example values for the "general" config file.
#
# Documentation on configuring Alaveteli is available at
# http://alaveteli.org/docs/customising/
#
# Configuration parameters, in YAML syntax.
#
# Copy this file to one called "general.yml" in the same directory.  Or
# have multiple config files and use a symlink to change between them.
#
# Default values for these settings can be found in
# RAILS_ROOT/lib/configuration.rb
#
# ==============================================================================

# Site name appears in various places throughout the site
#
# SITE_NAME - String name of the site (default: 'Alaveteli')
#
# Examples:
#
#   SITE_NAME: 'Alaveteli'
#   SITE_NAME: 'WhatDoTheyKnow'
#
# ---
SITE_NAME: 'Alaveteli'

# Domain used in URLs generated by scripts (e.g. for going in some emails)
#
# DOMAIN - String domain or IP address (default: 'localhost:3000')
#
# Examples:
#
#   DOMAIN: '127.0.0.1:3000'
#   DOMAIN: 'www.example.com'
#
# ---
DOMAIN: 'www.example.org'

# If true forces everyone (in the production environment) to use encrypted
# connections (via https) by redirecting unencrypted connections. This is
# *highly* recommended so that logins can't be intercepted by naughty people.
#
# FORCE_SSL - Boolean (default: true)
#
# ---
FORCE_SSL: true

# ISO country code of country currrently deployed in
# (http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
#
# ISO_COUNTRY_CODE - String country code (default: GB)
#
# Examples:
#
#   ISO_COUNTRY_CODE: GB
#
# ---
ISO_COUNTRY_CODE: GB

# This is the timezone that times and dates are displayed in
# If not set defaults to UTC.
#
# TIME_ZONE - String time zone (default: UTC)
#
# Examples:
#
#   TIME_ZONE: Australia/Sydney
#   TIME_ZONE: Europe/London
#
# ---
TIME_ZONE: UTC

# These feeds are displayed accordingly on the Alaveteli "blog" page:
#
# BLOG_FEED - String url to the blog feed (default: nil)
#
# Examples:
#
#   BLOG_FEED: https://www.mysociety.org/category/projects/whatdotheyknow/feed/
#
# ---
BLOG_FEED: ''

# If you want a twitter feed displayed on the "blog" page, provide the
# widget ID and username.
#
# TWITTER_USERNAME - String Twitter username (default: nil)
#
# Examples:
#
#   TWITTER_USERNAME: 'whatdotheyknow'
#
# ---
TWITTER_USERNAME: ''

# Set the widget_id to get the Twitter sidebar on the blog page.
# To get one https://twitter.com/settings/widgets
#
# TWITTER_WIDGET_ID - String widget ID (default: false)
#
# Examples:
#
#   TWITTER_WIDGET_ID: '833549204689320031'
#
# ---
TWITTER_WIDGET_ID: ''

# The locales you want your site to support. If there is more than one, use
# spaces betwween the entries.
#
# AVAILABLE_LOCALES – String of space-separated locales (default: nil)
#
# Examples:
#
#   AVAILABLE_LOCALES: 'en es'
#
# ---
AVAILABLE_LOCALES: 'en'

# Nominate one of the AVAILABLE_LOCALES locales as the default
#
# DEFAULT_LOCALE – String locale (default: nil)
#
# Examples:
#
#   DEFAULT_LOCALE: 'en'
#
# ---
DEFAULT_LOCALE: 'en'

# Should Alaveteli try to use the default language of the user's browser?
#
# USE_DEFAULT_BROWSER_LANGUAGE - Boolean (default: true)
#
# Examples:
#
#   USE_DEFAULT_BROWSER_LANGUAGE: true
#
# ---
USE_DEFAULT_BROWSER_LANGUAGE: true

# Normally, Alaveteli will put the locale into its URLs, like this
# www.example.com/en/body/list/all. If you don't want this behaviour whenever
# the locale is the default one, set INCLUDE_DEFAULT_LOCALE_IN_URLS to false.
#
# INCLUDE_DEFAULT_LOCALE_IN_URLS: Boolean (default: true)
#
# Examples:
#
#   INCLUDE_DEFAULT_LOCALE_IN_URLS: false
#
# ---
INCLUDE_DEFAULT_LOCALE_IN_URLS: true

# Are authorities required to respond by law?
#
# AUTHORITY_MUST_RESPOND: Boolean (default: true)
AUTHORITY_MUST_RESPOND: true

# The REPLY...AFTER_DAYS settings define how many days must have passed before
# an answer to a request is officially late. The SPECIAL case is for some types
# of authority (for example: in the UK, schools) which are granted a bit longer
# than everyone else to respond to questions.
#
# REPLY_LATE_AFTER_DAYS - Integer (default: 20)
# REPLY_VERY_LATE_AFTER_DAYS - Integer (default: 40)
# SPECIAL_REPLY_VERY_LATE_AFTER_DAYS - Integer (default: 60)
#
# Examples:
#
#   REPLY_LATE_AFTER_DAYS: 20
#   REPLY_VERY_LATE_AFTER_DAYS: 40
#   SPECIAL_REPLY_VERY_LATE_AFTER_DAYS: 60
#
# ---
REPLY_LATE_AFTER_DAYS: 20
REPLY_VERY_LATE_AFTER_DAYS: 40
SPECIAL_REPLY_VERY_LATE_AFTER_DAYS: 60

# The WORKING_OR_CALENDAR_DAYS setting can be either "working" (the default) or
# "calendar", and determines which days are counted when calculating whether a
# request is officially late.
#
# WORKING_OR_CALENDAR_DAYS - String in [working, calendar] (default: working)
#
# Examples:
#
#   WORKING_OR_CALENDAR_DAYS: working
#   WORKING_OR_CALENDAR_DAYS: calendar
#
# ---
WORKING_OR_CALENDAR_DAYS: working

# Specify which public bodies you want to be listed as examples on the home
# page, using their short_names. If you want more than one, separate them with
# semicolons. List is auto-generated if not set.
#
# *Warning:* this is slow — don't use in production!
#
# FRONTPAGE_PUBLICBODY_EXAMPLES - String semicolon-separated list of public
#                                 bodies (default: nil)
#
# Examples:
#
#   FRONTPAGE_PUBLICBODY_EXAMPLES: 'tgq'
#   FRONTPAGE_PUBLICBODY_EXAMPLES: 'tgq;foo;bar'
#
# ---
FRONTPAGE_PUBLICBODY_EXAMPLES: ''

# URLs of themes to download and use (when running the rails-post-deploy
# script). The earlier in the list means the templates have a higher priority.
#
# THEME_URLS - Array of theme URLs (default: [])
#
# Examples:
#
#   THEME_URLS:
#     - 'git://github.com/mysociety/alavetelitheme.git'
#     - 'git://github.com/mysociety/whatdotheyknow-theme.git'
#
# ---
THEME_URLS:
  - 'git://github.com/mysociety/alavetelitheme.git'

# When rails-post-deploy installs the themes, it will try to use the branch
# specified by THEME_BRANCH first. If the branch doesn't exist it will fall
# back to using a tagged version specific to your installed alaveteli version,
# and if that doesn't exist it will fall back to master.
#
# THEME_BRANCH - Boolean (default: false)
#
# Examples:
#
#   # Use the develop branch if it exists, otherwise fall back as described
#   THEME_BRANCH: 'develop'
#
#   # try the use-with-alaveteli-xxx branch/tag, otherwise fall back to HEAD
#   THEME_BRANCH: false
#
# ---
THEME_BRANCH: false

# Does a user needs to sign in to start the New Request process?
#
# FORCE_REGISTRATION_ON_NEW_REQUEST - Boolean (default: false)
#
# ---
FORCE_REGISTRATION_ON_NEW_REQUEST: false

# Your email domain for incoming mail.
#
# INCOMING_EMAIL_DOMAIN – String domain (default: localhost)
#
# Examples:
#
#   INCOMING_EMAIL_DOMAIN: 'localhost'
#   INCOMING_EMAIL_DOMAIN: 'foifa.com'
#
# ---
INCOMING_EMAIL_DOMAIN: 'localhost'

# An optional prefix to help you distinguish FOI requests.
#
# INCOMING_EMAIL_PREFIX - String (default: foi+)
#
# Examples:
#
#   INCOMING_EMAIL_PREFIX: ''             # No prefix
#   INCOMING_EMAIL_PREFIX: 'alaveteli+'
#
# ---
INCOMING_EMAIL_PREFIX: 'foi+'

# Used for hash in request email address.
#
# INCOMING_EMAIL_SECRET - String (default: dummysecret)
#
# Examples:
#
#   INCOMING_EMAIL_SECRET: '11ae 4e3b 70ff c001 3682 4a51 e86d ef5f'
#
# ---
INCOMING_EMAIL_SECRET: 'xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx'

# Used as envelope from at the incoming email domain for cases where you don't
# care about failure.
#
# BLACKHOLE_PREFIX - String (default: do-not-reply-to-this-address)
#
# Examples:
#
#   BLACKHOLE_PREFIX: 'do-not-reply-to-this-address'
#   BLACKHOLE_PREFIX: 'do-not-reply'
#
# ---
BLACKHOLE_PREFIX: 'do-not-reply-to-this-address'

# Emergency admin user login username. YOU SHOULD CHANGE THIS.
#
# ADMIN_USERNAME - String (default: nil)
#
# Examples:
#
#   ADMIN_USERNAME: 'admin-alaveteli'
#
# ---
ADMIN_USERNAME: 'adminxxxx'

# Emergency admin user login password. YOU SHOULD CHANGE THIS.
#
# ADMIN_USERNAME - String (default: nil)
#
# Examples:
#
#   ADMIN_PASSWORD: 'b38bCHBl;28'
#
# ---
ADMIN_PASSWORD: 'passwordx'

# Disable the emergency admin user?
#
# DISABLE_EMERGENCY_USER - Boolean (default: false)
#
# ---
DISABLE_EMERGENCY_USER: false

# Set this to true, and the admin interface will be available to anonymous
# users. Obviously, you should not set this to be true in production
# environments.
#
# SKIP_ADMIN_AUTH - Boolean (default: false)
#
# ---
SKIP_ADMIN_AUTH: false

# Email "from" email address
#
# CONTACT_EMAIL: String email address (default: contact@localhost)
#
# ---
CONTACT_EMAIL: 'contact@localhost'

# Email "from" name
#
# CONTACT_NAME - String contact name (default: Alaveteli)
#
# ---
CONTACT_NAME: 'Alaveteli'

# Email "from" email address for track messages
#
# TRACK_SENDER_EMAIL - String email address (default: contact@localhost)
#
# ---
TRACK_SENDER_EMAIL: 'contact@localhost'

# Email "from" name for track messages
#
# TRACK_SENDER_NAME - String contact name (default: Alaveteli)
#
# ---
TRACK_SENDER_NAME: 'Alaveteli'

# Directory where the raw incoming email data gets stored; make sure you back
# this up!
#
# RAW_EMAILS_LOCATION - String path (default: files/raw_emails)
#
# ---
RAW_EMAILS_LOCATION: 'files/raw_emails'

# Secret key for signing cookie_store sessions. Make it long and random.
#
# COOKIE_STORE_SESSION_SECRET - String (default: 'this default is insecure as
#                                       code is open source, please override
#                                       for live sites in config/general; this
#                                       will do for local development')
#
# Examples:
#
#   COOKIE_STORE_SESSION_SECRET: 'uIngVC238Jn9NsaQizMNf89pliYmDBFugPjHS2JJmzOp8'
#
# ---
COOKIE_STORE_SESSION_SECRET: 'your secret key here, make it long and random'

# If present, puts the site in read only mode, and uses the text as reason
# (whole paragraph). Please use a read-only database user as well, as it only
# checks in a few obvious places. Typically, you do not want to run your site
# in read-only mode.
#
# READ_ONLY - String (default: nil)
#
# Examples:
#
#   READ_ONLY: 'The site is not currently accepting requests while we move the
#   server.'
#
# ---
READ_ONLY: ''

# Is this a staging or development site? If not, it's a live production site.
# This setting controls whether or not the rails-post-deploy script will create
# the file config/rails_env.rb file to force Rails into production environment.
#
# STAGING_SITE: Integer in [0, 1]
#
# Examples:
#
#   # For staging or development:
#   STAGING_SITE: 1
#
#   # For production:
#   STAGING_SITE: 0
#
# ---
STAGING_SITE: 1

# Recaptcha, for detecting humans. Get keys here:
# http://recaptcha.net/whyrecaptcha.html
#
# RECAPTCHA_PUBLIC_KEY - String (default: 'x')
#
# ---
RECAPTCHA_PUBLIC_KEY: 'x'

# Recaptcha, for detecting humans. Get keys here:
# http://recaptcha.net/whyrecaptcha.html
#
# RECAPTCHA_PRIVATE_KEY - String (default: 'x')
#
# ---
RECAPTCHA_PRIVATE_KEY: 'x'

# Number of days after which to send a 'new response reminder'
#
# NEW_RESPONSE_REMINDER_AFTER_DAYS – Array of Integers (default: [3, 10, 24])
#
# Examples:
#
#   NEW_RESPONSE_REMINDER_AFTER_DAYS: [3, 7]
#
# ---
NEW_RESPONSE_REMINDER_AFTER_DAYS: [3, 10, 24]

# For debugging memory problems. If true, Alaveteli logs the memory use
# increase of the Ruby process due to the request (Linux only). Since Ruby
# never returns memory to the OS, if the existing process previously served a
# larger request, this won't show any consumption for the later request.
#
# DEBUG_RECORD_MEMORY - Boolean (default: false)
#
# ---
DEBUG_RECORD_MEMORY: false

# Currently we default to using pdftk to compress PDFs. You can optionally try
# Ghostscript, which should do a better job of compression. Some versions of
# pdftk are buggy with respect to compression, in which case Alaveteli doesn't
# recompress the PDFs at all and logs a warning message "Unable to compress
# PDF" — which would be another reason to try this setting.
#
# USE_GHOSTSCRIPT_COMPRESSION - Boolean (default: false)
#
# ---
USE_GHOSTSCRIPT_COMPRESSION: false

# Alateveli uses mySociety's gazeteer service to determine country from
# incoming IP address (this lets us suggest an Alaveteli in the user's country
# if one exists). You shouldn't normally need to change this.
#
# GAZE_URL - String (default: http://gaze.mysociety.org)
#
# Examples:
#
#   GAZE_URL: http://gaze.example.org
#
# ---
GAZE_URL: http://gaze.mysociety.org

# The email address to which non-bounce responses to emails sent out by
# Alaveteli should be forwarded
#
# FORWARD_NONBOUNCE_RESPONSES_TO - String (default: user-support@localhost)
#
# Examples:
#
#   FORWARD_NONBOUNCE_RESPONSES_TO: user-support@example.com
#
# ---
FORWARD_NONBOUNCE_RESPONSES_TO: user-support@localhost

# Path to a program that converts an HTML page in a file to PDF. Also used to
# download a zip file of all the correspondence for a request. It should take
# two arguments: the URL, and a path to an output file.
#
# A static binary of wkhtmltopdf is recommended:
# http://code.google.com/p/wkhtmltopdf/downloads/list
# If the command is not present, a text-only version will be rendered
# instead.
#
# HTML_TO_PDF_COMMAND - String (default: nil)
#
# Examples:
#
#   HTML_TO_PDF_COMMAND: /usr/local/bin/wkhtmltopdf
#   HTML_TO_PDF_COMMAND: /usr/local/bin/wkhtmltopdf-amd64
#
# ---
HTML_TO_PDF_COMMAND: /usr/local/bin/wkhtmltopdf-amd64

# Email address used for sending exception notifications.
#
# EXCEPTION_NOTIFICATIONS_FROM - String (default: nil)
#
# Examples:
#
#   EXCEPTION_NOTIFICATIONS_FROM: do-not-reply-to-this-address@example.com
#
# ---
EXCEPTION_NOTIFICATIONS_FROM: do-not-reply-to-this-address@localhost

# Email address(es) used for receiving exception notifications.
#
# EXCEPTION_NOTIFICATIONS_TO - Array of Strings (default: nil)
#
# Examples:
#
#   EXCEPTION_NOTIFICATIONS_TO:
#     - robin@example.com
#     - seb@example.com
#
# ---
EXCEPTION_NOTIFICATIONS_TO:
  - alaveteli@localhost

# This rate limiting can be turned off per-user via the admin interface
#
# MAX_REQUESTS_PER_USER_PER_DAY - Integer (default: 6)
#
# Examples:
#
#   MAX_REQUESTS_PER_USER_PER_DAY: 1
#   MAX_REQUESTS_PER_USER_PER_DAY: '' # No limit
#
# ---
MAX_REQUESTS_PER_USER_PER_DAY: 6

# If you're running behind Varnish set this to work out where to send purge
# requests. Otherwise, don't set it.
#
# VARNISH_HOST - String (default: nil)
#
# Examples:
#
#   VARNISH_HOST: localhost
#
# ---
VARNISH_HOST: null

# Adding a value here will enable Google Analytics on all non-admin pages for
# non-admin users.
#
# GA_CODE - String (default: nil)
#
# Examples:
#
#   GA_CODE: 'AB-8222142-14'
#
# ---
GA_CODE: ''

# If you want to override all the public body request emails with your own
# email address so that request emails that would normally go to the public
# body go to you, use this setting. This is useful for a staging server, so you
# can play with the whole process of sending requests without inadvertently
# sending an email to a real authority.
# Leave blank ('') to send requests to the real authority emails.
#
# OVERRIDE_ALL_PUBLIC_BODY_REQUEST_EMAILS - String (default: nil)
#
# Examples:
#
#   OVERRIDE_ALL_PUBLIC_BODY_REQUEST_EMAILS: test-email@example.com
#
# ---
OVERRIDE_ALL_PUBLIC_BODY_REQUEST_EMAILS: ''

# Search path for external commandline utilities (such as pdftohtml, pdftk,
# unrtf)
#
# UTILITY_SEARCH_PATH - Array of Strings
#                       (default: ["/usr/bin", "/usr/local/bin"])
#
# Examples:
#
#  UTILITY_SEARCH_PATH: ["/usr/bin"]
#  UTILITY_SEARCH_PATH: ["/usr/local/bin", "/opt/bin"]
#
# ---
UTILITY_SEARCH_PATH: ["/usr/bin", "/usr/local/bin"]

# Path to your exim or postfix log files that will get sucked up by
# script/load-mail-server-logs
#
# MTA_LOG_PATH - String (default: /var/log/exim4/exim-mainlog-*)
#
# Examples:
#
#   MTA_LOG_PATH: '/var/log/exim4/exim-mainlog-*'
#
# ---
MTA_LOG_PATH: '/var/log/exim4/exim-mainlog-*'

# Are you using "exim" or "postfix" for your Mail Transfer Agent (MTA)?
#
# MTA_LOG_TYPE - String (default: exim)
#
# Examples:
#
#   MTA_LOG_TYPE: exim
#   MTA_LOG_TYPE: postfix
#
# ---
MTA_LOG_TYPE: exim

# URL where people can donate to the organisation running the site. If set,
# this will be included in the message people see when their request is
# successful.
#
# DONATION_URL - String (default: nil)
#
# Examples:
#
#   DONATION_URL: http://www.mysociety.org/donate
#
# ---
DONATION_URL: "http://www.mysociety.org/donate/"

# If PUBLIC_BODY_STATISTICS_PAGE is set to true, Alaveteli will make a page of
# statistics on the performance of public bodies (which you can see at
# /body_statistics).
#
# PUBLIC_BODY_STATISTICS_PAGE - Boolean (default: false)
#
# ---
PUBLIC_BODY_STATISTICS_PAGE: false

# The page of statistics for public bodies will only consider public
# bodies that have had at least the number of requests set by
# MINIMUM_REQUESTS_FOR_STATISTICS.
#
# MINIMUM_REQUESTS_FOR_STATISTICS - Integer (default: 100)
#
# ---
MINIMUM_REQUESTS_FOR_STATISTICS: 100

# If you would like the public body list page to include bodies that have no
# translation in the current locale (but which do have a translation in the
# default locale), set this to true.
#
# PUBLIC_BODY_LIST_FALLBACK_TO_DEFAULT_LOCALE - Boolean (default: false)
#
# ---
PUBLIC_BODY_LIST_FALLBACK_TO_DEFAULT_LOCALE: false

# If true, while in development mode, try to send mail by SMTP to port
# 1025 (the port the mailcatcher listens on by default)
#
# USE_MAILCATCHER_IN_DEVELOPMENT - Boolean (default: true)
#
# ---
USE_MAILCATCHER_IN_DEVELOPMENT: true

# Use memcached to cache HTML fragments for better performance. This will
# only have an effect in environments where
# config.action_controller.perform_caching is set to true
#
# CACHE_FRAGMENTS - Boolean (default: true)
#
# ---
CACHE_FRAGMENTS: true

# The default bundle path is vendor/bundle; you can set this option to change it
#
# BUNDLE_PATH - String
#
# Examples:
#
#   BUNDLE_PATH: vendor/bundle
#   BUNDLE_PATH: /var/alaveteli/bundle
#
# ---
BUNDLE_PATH: vendor/bundle

# In some deployments of Alaveteli you may wish to install each newly
# deployed version alongside the previous ones, in which case certain
# files and resources should be shared between these installations.
# For example, the 'files' directory, the 'cache' directory and the
# generated graphs such as 'public/foi-live-creation.png'.  If you're
# installing Alaveteli in such a setup then set SHARED_FILES_PATH to
# the directory you're keeping these files under. Otherwise, leave it
# blank.
#
# SHARED_FILES_PATH - String
#
# Examples:
#
#   SHARED_FILES_PATH: /var/www/alaveteli/shared
#
# ---
SHARED_FILES_PATH: ''

# If you have SHARED_FILES_PATH set, then these options list the files
# that are shared; i.e. those that the deploy scripts should create symlinks to
# from the repository.
#
# SHARED_FILES - Array of Strings
#
# Examples:
#
#   SHARED_FILES:
#     - config/database.yml
#     - config/general.yml
#
# ---
SHARED_FILES:
  - config/database.yml
  - config/general.yml
  - config/rails_env.rb
  - config/newrelic.yml
  - config/httpd.conf
  - public/foi-live-creation.png
  - public/foi-user-use.png
  - config/aliases

# If you have SHARED_FILES_PATH set, then these options list the directories
# that are shared; i.e. those that the deploy scripts should create symlinks to
# from the repository.
#
# SHARED_DIRECTORIES - Array of Strings
#
# Examples:
#
#   SHARED_DIRECTORIES:
#     - files/
#     - cache/
#
# ---
SHARED_DIRECTORIES:
  - files/
  - cache/
  - lib/acts_as_xapian/xapiandbs/
  - log/
  - tmp/pids
  - vendor/bundle
  - public/assets

# Allow some users to make batch requests to multiple authorities. Once
# this is set to true, you can enable batch requests for an individual
# user via the user admin page.
#
# ALLOW_BATCH_REQUESTS - Boolean (default: false)
#
# ---
ALLOW_BATCH_REQUESTS: false

# Use the responsive base stylesheets and templates, rather than those that
# only render the site at a fixed width. They allow the site to render nicely
# on mobile devices as well as larger screens. Set this to false if you want to
# continue using fixed width stylesheets.
#
# RESPONSIVE_STYLING - Boolean (default: true)
#
# ---
RESPONSIVE_STYLING: true