Commit 55e72f4c authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Gitlab moved to mysql

parent eb7bbedb
...@@ -3,6 +3,7 @@ source "http://rubygems.org" ...@@ -3,6 +3,7 @@ source "http://rubygems.org"
gem "rails", "3.2.1" gem "rails", "3.2.1"
gem "sqlite3" gem "sqlite3"
gem "mysql2"
gem "rake" gem "rake"
gem "devise" gem "devise"
gem "stamp" gem "stamp"
...@@ -31,6 +32,7 @@ gem "foreman" ...@@ -31,6 +32,7 @@ gem "foreman"
gem "omniauth-ldap" gem "omniauth-ldap"
gem 'bootstrap-sass', "1.4.4" gem 'bootstrap-sass', "1.4.4"
gem "colored" gem "colored"
gem 'yaml_db', :git => "https://github.com/gitlabhq/yaml_db.git"
group :assets do group :assets do
gem "sass-rails", "3.2.3" gem "sass-rails", "3.2.3"
......
...@@ -21,6 +21,12 @@ GIT ...@@ -21,6 +21,12 @@ GIT
mime-types (~> 1.15) mime-types (~> 1.15)
posix-spawn (~> 0.3.6) posix-spawn (~> 0.3.6)
GIT
remote: https://github.com/gitlabhq/yaml_db.git
revision: 98e9a5dca43e3fedd3268c76a73af40d1bdf1dfd
specs:
yaml_db (0.2.2)
GEM GEM
remote: http://rubygems.org/ remote: http://rubygems.org/
specs: specs:
...@@ -144,6 +150,7 @@ GEM ...@@ -144,6 +150,7 @@ GEM
mime-types (1.17.2) mime-types (1.17.2)
multi_json (1.0.4) multi_json (1.0.4)
multi_xml (0.4.1) multi_xml (0.4.1)
mysql2 (0.3.11)
net-ldap (0.2.2) net-ldap (0.2.2)
nokogiri (1.5.0) nokogiri (1.5.0)
omniauth (1.0.2) omniauth (1.0.2)
...@@ -313,6 +320,7 @@ DEPENDENCIES ...@@ -313,6 +320,7 @@ DEPENDENCIES
kaminari kaminari
launchy launchy
letter_opener letter_opener
mysql2
omniauth-ldap omniauth-ldap
pry pry
pygments.rb (= 0.2.4) pygments.rb (= 0.2.4)
...@@ -334,3 +342,4 @@ DEPENDENCIES ...@@ -334,3 +342,4 @@ DEPENDENCIES
turn turn
uglifier (= 1.0.3) uglifier (= 1.0.3)
webmock webmock
yaml_db!
# SQLite version 3.x
# gem install sqlite3
#
# Ensure the SQLite 3 gem is defined in your Gemfile
# gem 'sqlite3'
development: development:
adapter: sqlite3 adapter: mysql2
database: db/development.sqlite3 encoding: utf8
reconnect: false
database: gitlabhq_development
pool: 5 pool: 5
timeout: 5000 username: root
password: "secure password"
# socket: /tmp/mysql.sock
# Warning: The database defined as "test" will be erased and # Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake". # re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production. # Do not set this db to the same as development or production.
test: test:
adapter: sqlite3 adapter: mysql2
database: db/test.sqlite3 encoding: utf8
reconnect: false
database: gitlabhq_test
pool: 5 pool: 5
timeout: 5000 username: root
password: "secure password"
# socket: /tmp/mysql.sock
production: production:
adapter: sqlite3 adapter: mysql2
database: db/production.sqlite3 encoding: utf8
reconnect: false
database: gitlabhq_production
pool: 5 pool: 5
timeout: 5000 username: root
password: "secure password"
# socket: /tmp/mysql.sock
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment