From 03ce547b8e1120724cf93dcae24e8452d41c2ea8 Mon Sep 17 00:00:00 2001 From: Carla Date: Thu, 31 Mar 2016 15:02:19 +0200 Subject: [PATCH] Update README.md --- README.md | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 809cd71..12e0cbf 100644 --- a/README.md +++ b/README.md @@ -23,11 +23,11 @@ Steps to deploy a new Data Services API version : ### Local install instructions -- install data services extension +- install data services geocoder extension ``` git clone git@github.com:CartoDB/data-services.git - data-services/geocoder/extension + cd data-services/geocoder/extension sudo make install ``` @@ -35,7 +35,7 @@ Steps to deploy a new Data Services API version : ``` cd client && sudo make install - cd server && sudo make install + cd server/extension && sudo make install ``` - install python library @@ -57,21 +57,23 @@ Steps to deploy a new Data Services API version : ``` - # select CDB_Conf_SetConf('redis_metadata_config', '{"sentinel_host": "localhost", "sentinel_port": 26379, "sentinel_master_id": "mymaster", "timeout": 0.1, "redis_db": 5}'); - # select CDB_Conf_SetConf('redis_metrics_config', '{"sentinel_host": "localhost", "sentinel_port": 26379, "sentinel_master_id": "mymaster", "timeout": 0.1, "redis_db": 5}'); + # SELECT CDB_Conf_SetConf('redis_metadata_config', '{"sentinel_host": "localhost", "sentinel_port": 26379, "sentinel_master_id": "mymaster", "timeout": 0.1, "redis_db": 5}'); + # SELECT CDB_Conf_SetConf('redis_metrics_config', '{"sentinel_host": "localhost", "sentinel_port": 26379, "sentinel_master_id": "mymaster", "timeout": 0.1, "redis_db": 5}'); - # select CDB_Conf_SetConf('heremaps_conf', '{"app_id": "APP_ID", "app_code": "APP_CODE"}'); - # select CDB_Conf_SetConf('user_config', '{"is_organization": false, "entity_name": ""}') + # SELECT CDB_Conf_SetConf('heremaps_conf', '{"app_id": "APP_ID", "app_code": "APP_CODE"}'); + # SELECT CDB_Conf_SetConf('user_config', '{"is_organization": false, "entity_name": ""}') + # SELECT CDB_Conf_SetConf('mapzen_conf', '{"routing_app_key": "ROUTING_API_KEY", "geocoder_app_key": "GEOCODER_API_KEY"}'); + ``` - configure plproxy to point to the same user database (you could do in a different one) ``` - select CDB_Conf_SetConf('geocoder_server_config', '{ "connection_str": "host=localhost port=5432 dbname=cartodb_dev_user_accf0647-d942-4e37-b129-8287c117e687_db user=postgres"}'); + SELECT CDB_Conf_SetConf('geocoder_server_config', '{ "connection_str": "host=localhost port=5432 dbname=cartodb_dev_user_accf0647-d942-4e37-b129-8287c117e687_db user=postgres"}'); ``` -- configure the search path in order to be able to execute the functions without use the schema: +- configure the search path in order to be able to execute the functions without using the schema: ``` - alter role "" set search_path='"$user", public, cartodb, cdb_dataservices_client'; + ALTER ROLE "" SET search_path='"$user", public, cartodb, cdb_dataservices_client'; ```