Commit 94522dbb authored by Stan Hu's avatar Stan Hu

Add note about setting up database_geo.yml and use geo:db:migrate

[ci skip]
parent 6c7dd3d9
......@@ -188,10 +188,28 @@ the clocks must be synchronized to within 60 seconds of each other.
sudo gitlab-ctl reconfigure
```
1. Edit the content of `database_geo.yml` in `production:` like the example below:
```yaml
#
# PRODUCTION
#
production:
adapter: postgresql
encoding: unicode
database: gitlabhq_geo_production
pool: 10
username: gitlab_geo
# password:
host: /var/opt/gitlab/geo-postgresql
port: 5431
```
1. Set up the Geo tracking database:
```
sudo gitlab-rake geo:db:setup
sudo gitlab-rake geo:db:migrate
```
[update]: ../update/README.md
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