63d52db91b
Conflicts: app/mailers/base_mailer.rb config/app_config.yml.SAMPLE spec/app_config.yml
125 lines
4 KiB
Text
125 lines
4 KiB
Text
# Foodsoft configuration
|
|
|
|
default: &defaults
|
|
# If you wanna serve more than one foodcoop with one installation
|
|
# Don't forget to setup databases for each foodcoop. See also MULTI_COOP_INSTALL
|
|
multi_coop_install: false
|
|
|
|
# If multi_coop_install you have to use a coop name, which you you wanna be selected by default
|
|
default_scope: 'f'
|
|
|
|
# name of this foodcoop
|
|
name: FC Test
|
|
# foodcoop contact information (used for FAX messages)
|
|
contact:
|
|
street: Grüne Straße 103
|
|
zip_code: "10997"
|
|
city: Berlin
|
|
country: Deutschland
|
|
email: foodsoft@foodcoop.test
|
|
phone: "030 323 23249"
|
|
|
|
# Homepage
|
|
homepage: http://www.foodcoop.test
|
|
|
|
# foodsoft documentation URL
|
|
help_url: https://github.com/foodcoops/foodsoft/wiki/Doku
|
|
|
|
# documentation URL for the apples&pears work system
|
|
applepear_url: https://github.com/foodcoops/foodsoft/wiki/%C3%84pfel-u.-Birnen
|
|
|
|
# custom foodsoft software URL (used in footer)
|
|
#foodsoft_url: https://github.com/foodcoops/foodsoft
|
|
|
|
# Default language
|
|
#default_locale: en
|
|
# By default, foodsoft takes the language from the webbrowser/operating system.
|
|
# In case you really want foodsoft in a certain language by default, set this to true.
|
|
# When members are logged in, the language from their profile settings is still used.
|
|
#ignore_browser_locale: false
|
|
|
|
# price markup in percent
|
|
price_markup: 2.0
|
|
|
|
# default vat percentage for new articles
|
|
tax_default: 7.0
|
|
|
|
# tolerance order option: If set to false, article tolerance values do not count
|
|
# for total article price as long as the order is not finished.
|
|
tolerance_is_costly: false
|
|
|
|
# Ordergroups, which have less than 75 apples should not be allowed to make new orders
|
|
# Comment out this option to activate this restriction
|
|
# stop_ordering_under: 75
|
|
|
|
# Comment out to completely hide apple points (be sure to comment stop_ordering_under)
|
|
# use_apple_points: false
|
|
|
|
# ordergroups can only order when their balance is higher than or equal to this
|
|
# not fully enforced right now, since the check is only client-side
|
|
# minimum_balance: 0
|
|
|
|
# When use_nick is enabled, there will be a nickname field in the user form,
|
|
# and the option to show a nickname instead of full name to foodcoop members.
|
|
# Members of a user's groups and administrators can still see full names.
|
|
use_nick: false
|
|
|
|
# Most plugins can be enabled/disabled here as well. Messages and wiki are enabled
|
|
# by default and need to be set to false to disable. Most other plugins needs to
|
|
# be enabled before they do anything.
|
|
#use_wiki: true
|
|
#use_messages: true
|
|
|
|
# Base font size for generated PDF documents
|
|
#pdf_font_size: 12
|
|
# Page size for generated PDF documents
|
|
#pdf_page_size: A4
|
|
# Some documents (like group and article PDFs) can include page breaks
|
|
# after each sublist.
|
|
#pdf_add_page_breaks: true
|
|
# Alternatively, this can be set for each document.
|
|
#pdf_add_page_breaks:
|
|
# order_by_groups: true
|
|
# order_by_articles: true
|
|
|
|
|
|
# Page footer (html allowed). Default is a Foodsoft footer. Set to `blank` for no footer.
|
|
#page_footer: <a href="http://www.foodcoop.test/">FC Test</a> is supported by <a href="http://www.hoster.test/">Hoster</a>.
|
|
|
|
# email address to be used as sender
|
|
email_sender: foodsoft@foodcoop.test
|
|
|
|
# If your foodcoop uses a mailing list instead of internal messaging system
|
|
#mailing_list: list@example.org
|
|
#mailing_list_subscribe: list-subscribe@example.org
|
|
|
|
# Config for the exception_notification plugin
|
|
notification:
|
|
error_recipients:
|
|
- admin@foodcoop.test
|
|
sender_address: "\"Foodsoft Error\" <foodsoft@foodcoop.test>"
|
|
email_prefix: "[Foodsoft]"
|
|
|
|
# http config for this host to generate links in emails (uses environment config when not set)
|
|
#protocol: http
|
|
#host: localhost
|
|
#port: 3000
|
|
|
|
# Access to sharedLists, the external article-database
|
|
shared_lists:
|
|
adapter: mysql2
|
|
host: localhost
|
|
database: sharedlists_development
|
|
username: root
|
|
password:
|
|
encoding: utf8
|
|
socket: /opt/lampp/var/mysql/mysql.sock
|
|
|
|
development:
|
|
<<: *defaults
|
|
|
|
test:
|
|
<<: *defaults
|
|
|
|
production:
|
|
<<: *defaults
|