#145 ✓resolved
Simon Rozet

Get rid of config.yml

Reported by Simon Rozet | April 15th, 2009 @ 01:50 AM

Instead, put everything in the config.ru. Example:


Integrity.new(
  :database_uri     => ENV["DATABASE_URL"],
  :export_directory => File.dirname(__FILE__) + "/tmp",
  :log              => File.dirname(__FILE__) + "/log/integrity.log",
  # Uncomment to setup a password
  # :admin_usenrame   => "admin",
  # :admin_password   => "foobar"
)

run Integrity::App

or as discussed on IRC:


Integrity.configure { |c|
  c.database_uri = "http://couch.io/integrity"
}
# (I which.)

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Automated continuous integration server that doesn't suck.

Shared Ticket Bins

People watching this ticket

Pages