diff --git a/README.md b/README.md index a9df9fe..c597812 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Steps to deploy a new Data Services API version : - install server and client extensions ``` - # in data-services repo root path: + # in dataservices-api repo root path: cd client && sudo make install cd server/extension && sudo make install ``` @@ -50,7 +50,7 @@ Steps to deploy a new Data Services API version : - install python library ``` - # in data-services repo root path: + # in dataservices-api repo root path: cd server/lib/python/cartodb_services && sudo pip install . --upgrade ``` @@ -77,13 +77,13 @@ Steps to deploy a new Data Services API version : SELECT CDB_Conf_SetConf('redis_metrics_config', '{"redis_host": "localhost", "redis_port": 6379, "sentinel_master_id": "", "timeout": 0.1, "redis_db": 5}'); SELECT CDB_Conf_SetConf('heremaps_conf', '{"geocoder": {"app_id": "here_geocoder_app_id", "app_code": "here_geocoder_app_code", "geocoder_cost_per_hit": "1"}, "isolines" : {"app_id": "here_isolines_app_id", "app_code": "here_geocoder_app_code"}}'); - SELECT CDB_Conf_SetConf('user_config', '{"is_organization": false, "entity_name": ""}') + SELECT CDB_Conf_SetConf('user_config', '{"is_organization": false, "entity_name": ""}'); SELECT CDB_Conf_SetConf('mapzen_conf', '{"routing": {"api_key": "valhalla_app_key", "monthly_quota": 999999}, "geocoder": {"api_key": "search_app_key", "monthly_quota": 999999}, "matrix": {"api_key": "[your_matrix_key]", "monthly_quota": 1500000}}'); SELECT CDB_Conf_SetConf('logger_conf', '{"geocoder_log_path": "/tmp/geocodings.log", [ "min_log_level": "[debug|info|warning|error]", "rollbar_api_key": "SERVER_SIDE_API_KEY", "log_file_path": "LOG_FILE_PATH"]}'); SELECT CDB_Conf_SetConf('data_observatory_conf', '{"connection": {"whitelist": [], "production": "host=localhost port=5432 dbname=dataservices_db user=geocoder_api", "staging": "host=localhost port=5432 dbname=dataservices_db user=geocoder_api"}}'); # Environment to decide: rollbar message, which servers for third party use, etc. If not setted uses production by default (current behavior) - SELECT CDB_Conf_SetConf('server_conf', '{"environment": "[development|staging|production]"}') + SELECT CDB_Conf_SetConf('server_conf', '{"environment": "[development|staging|production]"}'); ``` - configure the user DB: