2009-01-06 15:45:19 +01:00
|
|
|
# Foodsoft configuration
|
|
|
|
|
2012-08-24 19:52:38 +02:00
|
|
|
default: &defaults
|
2009-08-13 16:32:38 +02:00
|
|
|
# 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
|
|
|
|
|
2012-08-24 19:52:38 +02:00
|
|
|
# If multi_coop_install you have to use a coop name, which you you wanna be selected by default
|
|
|
|
default_scope: 'f'
|
|
|
|
|
2010-03-20 14:49:46 +01:00
|
|
|
# http config for this host
|
|
|
|
# Required for action mailer
|
|
|
|
protocol: http
|
|
|
|
host: localhost
|
|
|
|
port: 3000
|
|
|
|
|
2009-01-06 15:45:19 +01:00
|
|
|
# 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
|
2013-06-12 22:56:37 +02:00
|
|
|
email: foodsoft@foodcoop.test
|
2009-01-06 15:45:19 +01:00
|
|
|
phone: "030 323 23249"
|
2009-08-05 12:15:37 +02:00
|
|
|
|
2009-02-18 01:06:35 +01:00
|
|
|
# Homepage
|
2013-06-12 22:56:37 +02:00
|
|
|
homepage: http://www.foodcoop.test
|
2009-08-05 12:15:37 +02:00
|
|
|
|
2009-01-06 15:45:19 +01:00
|
|
|
# foodsoft documentation URL
|
2013-06-12 22:57:44 +02:00
|
|
|
help_url: https://github.com/foodcoops/foodsoft/wiki/Doku
|
2009-08-05 12:15:37 +02:00
|
|
|
|
2013-03-21 22:08:09 +01:00
|
|
|
# documentation URL for the apples&pears work system
|
2013-06-12 22:57:44 +02:00
|
|
|
applepear_url: https://github.com/foodcoops/foodsoft/wiki/%C3%84pfel-u.-Birnen
|
2009-08-05 12:15:37 +02:00
|
|
|
|
2009-01-06 15:45:19 +01:00
|
|
|
# price markup in percent
|
|
|
|
price_markup: 2.0
|
2009-08-05 12:15:37 +02:00
|
|
|
|
2013-07-06 23:11:50 +02:00
|
|
|
# default vat percentage for new articles
|
|
|
|
tax_default: 7.0
|
|
|
|
|
2009-08-05 12:15:37 +02:00
|
|
|
# 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
|
|
|
|
|
2012-09-29 17:52:25 +02:00
|
|
|
# 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
|
|
|
|
|
2013-07-10 22:02:36 +02:00
|
|
|
# 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
|
|
|
|
|
2013-09-20 22:40:13 +02:00
|
|
|
# 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
|
|
|
|
|
2009-01-06 15:45:19 +01:00
|
|
|
# email address to be used as sender
|
2013-06-12 22:56:37 +02:00
|
|
|
email_sender: foodsoft@foodcoop.test
|
2009-08-05 12:15:37 +02:00
|
|
|
|
2009-03-17 18:13:00 +01:00
|
|
|
# If your foodcoop uses a mailing list instead of internal messaging system
|
2013-06-12 22:56:37 +02:00
|
|
|
#mailing_list: list@example.org
|
|
|
|
#mailing_list_subscribe: list-subscribe@example.org
|
2009-08-05 12:15:37 +02:00
|
|
|
|
2009-03-17 18:13:00 +01:00
|
|
|
# Config for the exception_notification plugin
|
2009-01-06 15:45:19 +01:00
|
|
|
notification:
|
|
|
|
error_recipients:
|
2013-06-12 22:56:37 +02:00
|
|
|
- admin@foodcoop.test
|
|
|
|
sender_address: "\"FoodSoft Error\" <foodsoft@foodcoop.test>"
|
2009-01-06 15:45:19 +01:00
|
|
|
email_prefix: "[FoodSoft]"
|
2009-08-05 12:15:37 +02:00
|
|
|
|
2009-01-06 15:45:19 +01:00
|
|
|
# Access to sharedLists, the external article-database
|
|
|
|
shared_lists:
|
2012-06-21 17:19:00 +02:00
|
|
|
adapter: mysql2
|
2009-01-06 15:45:19 +01:00
|
|
|
host: localhost
|
|
|
|
database: sharedlists_development
|
|
|
|
username: root
|
|
|
|
password:
|
|
|
|
encoding: utf8
|
|
|
|
socket: /opt/lampp/var/mysql/mysql.sock
|
2009-08-05 12:15:37 +02:00
|
|
|
|
2009-01-06 15:45:19 +01:00
|
|
|
# auto-units-conversion
|
|
|
|
# this is used for automatic article-synchronization to handle different units
|
|
|
|
# e.g. when foodcoop-unit should be 500g and supplier-unit is 1kg
|
|
|
|
units:
|
|
|
|
KG: 1
|
|
|
|
1kg: 1
|
|
|
|
500g: 0.5
|
|
|
|
400g: 0.4
|
|
|
|
300g: 0.3
|
|
|
|
250g: 0.25
|
|
|
|
200g: 0.2
|
|
|
|
150g: 0.15
|
|
|
|
125g: 0.125
|
|
|
|
100g: 0.1
|
|
|
|
50g: 0.05
|
|
|
|
|
2012-08-24 19:52:38 +02:00
|
|
|
development:
|
|
|
|
<<: *defaults
|
|
|
|
|
2009-01-06 15:45:19 +01:00
|
|
|
test:
|
|
|
|
<<: *defaults
|
|
|
|
|
|
|
|
production:
|
2013-02-05 12:11:29 +01:00
|
|
|
<<: *defaults
|