```ruby
require "rubygems"
gem "integrity"
require "integrity"

Integrity.config = {
  :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"
}

Integrity.new
```

Add :base_uri => nil in config for Heroku
user
```ruby
require "rubygems"
gem "integrity"
require "integrity"

Integrity.config = {
  :base_uri         => nil, # Edit this! Like :base_uri => 'http://awesome-subdomain-13.heroku.com'
  :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"
}

Integrity.new
```
assistant