concord-consortium/rigse

View on GitHub
rails/config/database.sample.yml

Summary

Maintainability
Test Coverage
---
development: &development
  encoding: utf8
  adapter: mysql2
  username: <%= ENV['DB_USER'] || 'root' %>
  database: <%= ENV['DB_NAME'] || 'portal_development' %>
  password: <%= ENV['DB_PASSWORD'] || 'root' %>
  host: <%= ENV['DB_HOST'] || '127.0.0.1' %>
  port: <%= ENV['DB_PORT'] || '3306' %>
  pool: 5

test: &test
  encoding: utf8
  adapter: mysql2
  username: <%= ENV['DB_USER'] || 'root' %>
  database: <%= ENV['DB_NAME'] || 'portal_test' %>
  password: <%= ENV['DB_PASSWORD'] || 'root' %>
  host: <%= ENV['DB_HOST'] || '127.0.0.1' %>
  port: <%= ENV['DB_PORT'] || '3306' %>
  pool: 5

cucumber: &cucumber
  encoding: utf8
  adapter: mysql2
  username: <%= ENV['DB_USER'] || 'root' %>
  database: <%= ENV['DB_NAME'] || 'portal_features' %>
  password: <%= ENV['DB_PASSWORD'] || 'root' %>
  host: <%= ENV['DB_HOST'] || '127.0.0.1' %>
  port: <%= ENV['DB_PORT'] || '3306' %>
  pool: 5

feature_test: *cucumber

production: *development