2010-06-12 01:13:58 +00:00
|
|
|
Locomotive.configure do |config|
|
|
|
|
# if not defined, locomotive will use example.com as main domain name. Remove prefix www from your domain name.
|
|
|
|
# Ex:
|
|
|
|
# config.default_domain = Rails.env.production? ? 'mydomain.com' : 'example.com'
|
|
|
|
config.default_domain = 'mydomain.com'
|
2010-07-23 20:09:54 +00:00
|
|
|
|
|
|
|
# configure how many items we display in sub menu in the "Contents" section.
|
2010-06-12 01:13:58 +00:00
|
|
|
config.lastest_items_nb = 5
|
2010-07-23 20:09:54 +00:00
|
|
|
|
2010-06-12 01:13:58 +00:00
|
|
|
# tell if logs are enabled. Useful for debug purpose.
|
|
|
|
config.enable_logs = true
|
2010-07-23 20:09:54 +00:00
|
|
|
|
2010-06-14 13:04:01 +00:00
|
|
|
# tell if the application is hosted on Heroku.
|
|
|
|
# Locomotive uses heroku api to add / remove domains.
|
|
|
|
# there are 2 ways of passing heroku credentials to Locomotive
|
|
|
|
# - from ENV variables: HEROKU_LOGIN & HEROKU_PASSWORD
|
|
|
|
# - from this file
|
|
|
|
#
|
2010-07-23 20:09:54 +00:00
|
|
|
# Notes:
|
|
|
|
# - IMPORTANT: behaviours related to this option will only be applied in production
|
2010-06-14 13:04:01 +00:00
|
|
|
# - credentials coming from this file take precedence over ENV variables
|
2010-07-23 20:09:54 +00:00
|
|
|
#
|
2010-06-14 13:04:01 +00:00
|
|
|
# Ex:
|
|
|
|
# config.heroku = { :name => '<my heroku app name>', :login => 'john@doe.net', :password => 'easy' }
|
|
|
|
config.heroku = false
|
2010-07-23 20:09:54 +00:00
|
|
|
end
|