tmolteno/TART

external paths still exist in web api

maxscheel opened this issue · 2 comments

currently requires (hardcoded) folder called 24_ant_setup with:
a) telescope_config.json
b) calibrated_antenna_positions.json
this is also the path where the gains.db sqlite data base is stored.

changes need to made in:
tart_web_api/config.py
tart_web_api/database.py

make sure that api can be installed and run by just 2 steps.

  1. sudo pip install tart_web_api
  2. LOGIN_PW=foobar FLASK_APP=tart_web_api flask run

This has been fixed (to some extent) in the recent containerised web_api. Persistence is still being worked on.

Closed as the API is now containerised