Changeset 8027


Ignore:
Timestamp:
06/25/19 12:00:32 (8 weeks ago)
Author:
alexander
Message:

Committing fix for EWAVE to make host and port configurable

Location:
trunk/python/ewave_plotting
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/ewave_plotting/ewave_api.py

    r8026 r8027  
    2020HEIGHT = settings.get('height') 
    2121DPI = settings.get('dpi') 
     22FLASK_PORT = settings.get('ewavePort') 
     23FLASK_HOST = settings.get('ewaveHost') 
    2224 
    2325app = Flask(__name__, static_url_path='/static/') 
     
    284286 
    285287if __name__ == '__main__': 
    286     app.run(debug=False, host='0.0.0.0') 
     288    app.run(debug=False, host=FLASK_HOST, port=FLASK_PORT) 
  • trunk/python/ewave_plotting/settings.json

    r8014 r8027  
    11{ 
    2     "waveserverHost": "127.0.0.1", 
    3     "waveserverPort": 16027, 
     2    "waveserverHost": ["greendragon.isti.com", "127.0.0.1"], 
     3    "waveserverPort": [16027, 16027], 
     4 
     5    "ewaveHost": "127.0.0.1", 
     6    "ewavePort": 5000, 
    47 
    58    "plotColor": "black", 
Note: See TracChangeset for help on using the changeset viewer.