Fix some typos in README.md #346

This commit is contained in:
Rafa de la Torre
2017-03-07 12:33:36 +01:00
parent 457858a490
commit 6a3e17cb9e

View File

@@ -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": "<YOUR_USERNAME>"}')
SELECT CDB_Conf_SetConf('user_config', '{"is_organization": false, "entity_name": "<YOUR_USERNAME>"}');
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: