Removed gettext and simplified_localization-plugin. L18n is now the appropriate module.
Upgraded to rails 2.2.2 and replaced complex foodsoft.rb-loader with simple initializers/load_app_config.rb. Multiple foodcoops option is temporarly deactivated.
This commit is contained in:
parent
5b9a7e05df
commit
9f8d0d28ac
121 changed files with 1197 additions and 15237 deletions
58
config/app_config.yml.SAMPLE
Normal file
58
config/app_config.yml.SAMPLE
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
# Foodsoft configuration
|
||||
|
||||
development: &defaults
|
||||
# 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://www.fctest.de
|
||||
# foodsoft documentation URL
|
||||
help_url: http://foodsoft.fcschinke09.de/trac/wiki/FoodsoftDoku
|
||||
# price markup in percent
|
||||
price_markup: 2.0
|
||||
# email address to be used as sender
|
||||
email_sender: foodsoft@myfoodcoop.org
|
||||
|
||||
# Config for the exception_notification plugin
|
||||
notification:
|
||||
error_recipients:
|
||||
- benni@dresdener27.de
|
||||
sender_address: FoodSoft Error <foodsoft@foodcoops.net>
|
||||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue