migrated to mysql in production mode
This commit is contained in:
parent
20e57fe1f4
commit
465aeb7c23
2
Gemfile
2
Gemfile
@ -7,6 +7,8 @@ gem "rake", "0.8.7"
|
|||||||
# gem 'rails', :git => 'git://github.com/rails/rails.git'
|
# gem 'rails', :git => 'git://github.com/rails/rails.git'
|
||||||
|
|
||||||
gem 'sqlite3'
|
gem 'sqlite3'
|
||||||
|
gem 'yaml_db'
|
||||||
|
gem 'mysql2'
|
||||||
|
|
||||||
# Asset template engines
|
# Asset template engines
|
||||||
gem 'sass-rails', "~> 3.1.0.rc"
|
gem 'sass-rails', "~> 3.1.0.rc"
|
||||||
|
@ -16,7 +16,10 @@ test:
|
|||||||
timeout: 5000
|
timeout: 5000
|
||||||
|
|
||||||
production:
|
production:
|
||||||
adapter: sqlite3
|
adapter: mysql2
|
||||||
database: db/production.sqlite3
|
encoding: utf8
|
||||||
|
database: maisonarbre_app
|
||||||
pool: 5
|
pool: 5
|
||||||
timeout: 5000
|
username: maisonarbre_app
|
||||||
|
password: maisonarbreprod
|
||||||
|
socket: /var/run/mysqld/mysqld.sock
|
||||||
|
Loading…
x
Reference in New Issue
Block a user