foodsoft/config/app_config.yml.SAMPLE
Benjamin Meichsner f49c6493f4 Removed hard coded links from mailer and views.
* Not tested every mail template. Hopefully everything works ;-)
2010-03-20 14:49:46 +01:00

85 lines
No EOL
2.1 KiB
Text

# Foodsoft configuration
development: &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
# http config for this host
# Required for action mailer
protocol: http
host: localhost
port: 3000
# 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@myfoodcoop.org
phone: "030 323 23249"
# base URL for this installation
base_url: http://foodsoft.fctest.de
# Homepage
homepage: http://www.fctest.de
# foodsoft documentation URL
help_url: http://foodsoft.fcschinke09.de/trac/wiki/FoodsoftDoku
# price markup in percent
price_markup: 2.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
# email address to be used as sender
email_sender: foodsoft@myfoodcoop.org
# If your foodcoop uses a mailing list instead of internal messaging system
#mailing_list: list@myfoodcoop.org
#mailing_list_subscribe: list-subscribe@myfoodcoop.org
# Config for the exception_notification plugin
notification:
error_recipients:
- admin@myfoodcoop.org
sender_address: "\"FoodSoft Error\" <foodsoft@myfoodcoop.org>"
email_prefix: "[FoodSoft]"
# Access to sharedLists, the external article-database
shared_lists:
adapter: mysql
host: localhost
database: sharedlists_development
username: root
password:
encoding: utf8
socket: /opt/lampp/var/mysql/mysql.sock
# 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
test:
<<: *defaults
production:
<<: *defaults