mirror of
https://github.com/oonyeje/Pearlception_Website_RoR.git
synced 2025-12-25 03:37:40 +00:00
Change db config to use ENV vars
This commit is contained in:
parent
42794a71b8
commit
06ff938237
@ -13,9 +13,9 @@ default: &default
|
||||
adapter: mysql2
|
||||
encoding: utf8
|
||||
pool: 5
|
||||
username: root
|
||||
password: terps
|
||||
socket: /var/run/mysqld/mysqld.sock
|
||||
username: <%= ENV['TEST_USER'] %>
|
||||
password: <%= ENV['TEST_PASS'] %>
|
||||
socket: <%= ENV['TEST_SOCKET'] %>
|
||||
|
||||
stats_development: &stats
|
||||
adapter: mysql2
|
||||
|
||||
@ -1,3 +0,0 @@
|
||||
Rails.application.routes.draw do
|
||||
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
|
||||
end
|
||||
Loading…
x
Reference in New Issue
Block a user