Install MySQL

pull/266/head
Rick Carlino 2016-09-12 14:16:01 -05:00
parent 76f5ad8f41
commit 24bd33eaca
3 changed files with 13 additions and 13 deletions

View File

@ -36,6 +36,7 @@ group :development, :test do
gem 'faker'
gem 'smarf_doc', github: 'RickCarlino/smarf_doc'
gem 'sqlite3'
gem 'mysql'
gem 'rails-erd'
end

View File

@ -187,6 +187,7 @@ GEM
multi_json (1.12.1)
mutations (0.8.0)
activesupport
mysql (2.9.1)
netrc (0.11.0)
ng-rails-csrf (0.1.0)
nokogiri (1.6.8)
@ -197,6 +198,7 @@ GEM
parser (2.3.1.2)
ast (~> 2.2)
path_expander (1.0.0)
pg (0.18.4)
pkg-config (1.1.7)
procto (0.0.3)
pry (0.10.4)
@ -365,7 +367,9 @@ DEPENDENCIES
launchy
metric_fu
mutations
mysql
ng-rails-csrf
pg
pry
rack-cors
rails (= 4.2.7)

View File

@ -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
adapter: sqlite3
adapter: mysql
encoding: utf8
pool: 5
timeout: 5000
development:
<<: *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:
<<: *default
database: db/test.sqlite3
database: farmbot_api_test
password: "password123"
production:
<<: *default
database: db/production.sqlite3
database: farmbot_api_dev
password: "password123"