Remove SQLite support
This commit is contained in:
parent
c4f3c54ecb
commit
0fbd9ac748
5 changed files with 5 additions and 50 deletions
|
@ -1,12 +1,8 @@
|
|||
# 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue