Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
99e1d9d8
Commit
99e1d9d8
authored
Nov 27, 2012
by
Valeriy Sizov
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2093 from riyad/remove-sqlite
Remove SQLite support
parents
c4f3c54e
0fbd9ac7
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
50 deletions
+5
-50
Gemfile
Gemfile
+0
-1
Gemfile.lock
Gemfile.lock
+0
-2
config/database.yml.sqlite
config/database.yml.sqlite
+0
-31
doc/install/databases.md
doc/install/databases.md
+3
-14
doc/install/installation.md
doc/install/installation.md
+2
-2
No files found.
Gemfile
View file @
99e1d9d8
...
...
@@ -11,7 +11,6 @@ end
gem
"
rails
"
,
"3.2.9"
# Supported DBs
gem
"
sqlite3
"
,
group: :sqlite
gem
"
mysql2
"
,
group: :mysql
gem
"
pg
"
,
group: :postgres
...
...
Gemfile.lock
View file @
99e1d9d8
...
...
@@ -410,7 +410,6 @@ GEM
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sqlite3 (1.3.6)
stamp (0.3.0)
test_after_commit (0.0.1)
therubyracer (0.10.2)
...
...
@@ -518,7 +517,6 @@ DEPENDENCIES
simplecov
six
spinach-rails
sqlite3
stamp
test_after_commit
therubyracer
...
...
config/database.yml.sqlite
deleted
100644 → 0
View file @
c4f3c54e
#
# PRODUCTION
#
# SQLite version 3.x
# gem install sqlite3
#
# Ensure the SQLite 3 gem is defined in your Gemfile
# gem 'sqlite3'
production:
adapter: sqlite3
database: db/production.sqlite3
pool: 5
timeout: 5000
#
# Development specific
#
development:
adapter: sqlite3
database: db/development.sqlite3
pool: 5
timeout: 5000
# 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
adapter: sqlite3
database: db/test.sqlite3
pool: 5
timeout: 5000
doc/install/databases.md
View file @
99e1d9d8
# Databases:
GitLab use
mysql as default database but you are free to use PostgreSQL or SQLite
.
GitLab use
MySQL as default database but you are free to use PostgreSQL
.
## SQLite
sudo apt-get install -y sqlite3 libsqlite3-dev
## MySQL
sudo apt-get install -y mysql-server mysql-client libmysqlclient-dev
...
...
@@ -47,9 +43,6 @@ GitLab use mysql as default database but you are free to use PostgreSQL or SQLit
#### Select the database you want to use
# SQLite
sudo -u gitlab cp config/database.yml.sqlite config/database.yml
# Mysql
sudo -u gitlab cp config/database.yml.mysql config/database.yml
...
...
@@ -61,11 +54,7 @@ GitLab use mysql as default database but you are free to use PostgreSQL or SQLit
#### Install gems
# mysql
sudo -u gitlab -H bundle install --without development test
sqlite
postgres --deployment
sudo -u gitlab -H bundle install --without development test postgres --deployment
# or postgres
sudo -u gitlab -H bundle install --without development test sqlite mysql --deployment
# or sqlite
sudo -u gitlab -H bundle install --without development test mysql postgres --deployment
sudo -u gitlab -H bundle install --without development test mysql --deployment
doc/install/installation.md
View file @
99e1d9d8
...
...
@@ -178,7 +178,7 @@ and ensure you have followed all of the above steps carefully.
sudo gem install charlock_holmes --version '0.6.9'
sudo gem install bundler
sudo -u gitlab -H bundle install --without development test
sqlite
postgres --deployment
sudo -u gitlab -H bundle install --without development test postgres --deployment
#### Configure git client
...
...
@@ -269,7 +269,7 @@ You can login via web using admin generated with setup:
# Advanced setup tips:
_Checkout databases.md for
postgres or sqlite
_
_Checkout databases.md for
PostgreSQL
_
## Customizing Resque's Redis connection
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment