33 lines
940 B
Plaintext
33 lines
940 B
Plaintext
db = URI.parse('postgres://postgres:testni_hamo2@localhost/ribica')
|
|
|
|
|
|
|
|
ActiveRecord::Base.establish_connection(
|
|
:adapter => db.scheme == 'postgres' ? 'postgresql' : db.scheme,
|
|
:host => db.host,
|
|
:username => db.user,
|
|
:password => db.password,
|
|
:database => db.path[1..-1],
|
|
:encoding => 'utf8'
|
|
)
|
|
|
|
|
|
module RibicaConfig
|
|
ROOT_ADDRESS = "https://ribica.ba"
|
|
SENDGRID_API_USER = "ribica"
|
|
SENDGRID_API_KEY = "(enter key here)"
|
|
|
|
BACKOFFICE_ORDER_EMAIL_TO = "narudzbe@ribica.ba"
|
|
BACKOFFICE_ORDER_EMAIL_FROM = "draga@ribica.ba"
|
|
BACKOFFICE_ORDER_EMAIL_FROM_NAME = "Prodavnica Ribica"
|
|
|
|
# API key generated by visiting https://trello.com/1/appKey/generate
|
|
TRELLO_DEVELOPER_PUBLIC_KEY = "f13dd6c2dcc65f48b9a56c6d420e32e7"
|
|
# Member token
|
|
# larry-price.com/blog/2014/03/18/connecting-to-the-trello-api/
|
|
TRELLO_MEMBER_TOKEN = "(enter token here)"
|
|
TRELLO_BOARD_NAME = "FqDO1eFL"
|
|
|
|
BAM_TO_EURO_CONVERSION_RATE = 0.51
|
|
end
|