Added user database configuration suggested from dataservices-api modified documentation

pull/12643/head
Antonio 7 years ago
parent 5d08514bea
commit 11ab3fa3b4

@ -91,3 +91,31 @@ Activate soft geocoding limits for user ``user-name``::
Disable soft geocoding limits for user ``user-name``::
rake cartodb:services:set_user_soft_limit['user-name',geocoder,false]
User database configuration (from Builder)
------------------------------------------
Add the following entry to the `geocoder` entry of the `cartodb/config/app_config.yml` file:
```
api:
host: 'localhost'
port: '5432'
user: 'dataservices_user'
dbname: 'dataservices_db'
```
In the `cartodb/config/app_config.yml` file, enable the desired dataservices:
```
enabled:
geocoder_internal: false
hires_geocoder: false
isolines: false
routing: false
data_observatory: true
```
Execute the rake tasks to update all the users and organizations:
```
bundle exec rake cartodb:db:configure_geocoder_extension_for_organizations['', true]
bundle exec rake cartodb:db:configure_geocoder_extension_for_non_org_users['', true]
```

Loading…
Cancel
Save