From 75545566fe262065019d11324d73026fcff13cba Mon Sep 17 00:00:00 2001 From: Sergi Delgado Segura Date: Thu, 11 Jul 2019 10:33:03 +0200 Subject: [PATCH] Changes the default pisa-server IP address to the elastic aws ip address --- pisa-btc/apps/cli/__init__.py | 2 +- pisa-btc/apps/cli/pisa-cli.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pisa-btc/apps/cli/__init__.py b/pisa-btc/apps/cli/__init__.py index 6a47997..80f7942 100644 --- a/pisa-btc/apps/cli/__init__.py +++ b/pisa-btc/apps/cli/__init__.py @@ -1,5 +1,5 @@ # PISA-SERVER -DEFAULT_PISA_API_SERVER = 'localhost' +DEFAULT_PISA_API_SERVER = '35.177.25.32' DEFAULT_PISA_API_PORT = 9814 # PISA-CLI diff --git a/pisa-btc/apps/cli/pisa-cli.py b/pisa-btc/apps/cli/pisa-cli.py index a32db2c..8402aee 100644 --- a/pisa-btc/apps/cli/pisa-cli.py +++ b/pisa-btc/apps/cli/pisa-cli.py @@ -148,7 +148,8 @@ def show_usage(): '\n\thelp \t\t\tShows a list of commands or help for a specific command.' '\n\nGLOBAL OPTIONS:' - '\n\t-s, --server \tAPI server where to send the requests. Defaults to localhost (modifiable in __init__.py)' + '\n\t-s, --server \tAPI server where to send the requests. Defaults to 35.177.25.32 (modifiable in ' + '__init__.py)' '\n\t-p, --port \tAPI port where to send the requests. Defaults to 9814 (modifiable in __init__.py)' '\n\t-d, --debug \tshows debug information and stores it in pisa.log' '\n\t-h --help \tshows this message.')