Install MySQL
parent
76f5ad8f41
commit
24bd33eaca
1
Gemfile
1
Gemfile
|
@ -36,6 +36,7 @@ group :development, :test do
|
||||||
gem 'faker'
|
gem 'faker'
|
||||||
gem 'smarf_doc', github: 'RickCarlino/smarf_doc'
|
gem 'smarf_doc', github: 'RickCarlino/smarf_doc'
|
||||||
gem 'sqlite3'
|
gem 'sqlite3'
|
||||||
|
gem 'mysql'
|
||||||
gem 'rails-erd'
|
gem 'rails-erd'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -187,6 +187,7 @@ GEM
|
||||||
multi_json (1.12.1)
|
multi_json (1.12.1)
|
||||||
mutations (0.8.0)
|
mutations (0.8.0)
|
||||||
activesupport
|
activesupport
|
||||||
|
mysql (2.9.1)
|
||||||
netrc (0.11.0)
|
netrc (0.11.0)
|
||||||
ng-rails-csrf (0.1.0)
|
ng-rails-csrf (0.1.0)
|
||||||
nokogiri (1.6.8)
|
nokogiri (1.6.8)
|
||||||
|
@ -197,6 +198,7 @@ GEM
|
||||||
parser (2.3.1.2)
|
parser (2.3.1.2)
|
||||||
ast (~> 2.2)
|
ast (~> 2.2)
|
||||||
path_expander (1.0.0)
|
path_expander (1.0.0)
|
||||||
|
pg (0.18.4)
|
||||||
pkg-config (1.1.7)
|
pkg-config (1.1.7)
|
||||||
procto (0.0.3)
|
procto (0.0.3)
|
||||||
pry (0.10.4)
|
pry (0.10.4)
|
||||||
|
@ -365,7 +367,9 @@ DEPENDENCIES
|
||||||
launchy
|
launchy
|
||||||
metric_fu
|
metric_fu
|
||||||
mutations
|
mutations
|
||||||
|
mysql
|
||||||
ng-rails-csrf
|
ng-rails-csrf
|
||||||
|
pg
|
||||||
pry
|
pry
|
||||||
rack-cors
|
rack-cors
|
||||||
rails (= 4.2.7)
|
rails (= 4.2.7)
|
||||||
|
|
|
@ -1,25 +1,20 @@
|
||||||
# SQLite version 3.x
|
|
||||||
# gem install sqlite3
|
|
||||||
#
|
|
||||||
# Ensure the SQLite 3 gem is defined in your Gemfile
|
|
||||||
# gem 'sqlite3'
|
|
||||||
#
|
|
||||||
default: &default
|
default: &default
|
||||||
adapter: sqlite3
|
adapter: mysql
|
||||||
|
encoding: utf8
|
||||||
pool: 5
|
pool: 5
|
||||||
timeout: 5000
|
timeout: 5000
|
||||||
|
|
||||||
development:
|
development:
|
||||||
<<: *default
|
<<: *default
|
||||||
database: db/development.sqlite3
|
database: farmbot_api_dev
|
||||||
|
password: "password123"
|
||||||
|
|
||||||
# Warning: The database defined as "test" will be erased and
|
|
||||||
# re-generated from your development database when you run "rake".
|
|
||||||
# Do not set this db to the same as development or production.
|
|
||||||
test:
|
test:
|
||||||
<<: *default
|
<<: *default
|
||||||
database: db/test.sqlite3
|
database: farmbot_api_test
|
||||||
|
password: "password123"
|
||||||
|
|
||||||
production:
|
production:
|
||||||
<<: *default
|
<<: *default
|
||||||
database: db/production.sqlite3
|
database: farmbot_api_dev
|
||||||
|
password: "password123"
|
||||||
|
|
Loading…
Reference in New Issue