GT-ARTISAN / AMOS-Gateway

0 stars 0 forks source link

Protocol for synchronizing app with code development #15

Open scrinzi opened 7 months ago

scrinzi commented 7 months ago

For the tRecX or any app on the gateway to survive beyond very short time, we need protocol such that code developers can make minor modifications themselves. This involves

Triggered by the following issue:

Current Django app is out of sync with the deployed code. As a result, the mask entry cannot be used (it shows an obsolete entry and does not show its replacement)

The actual data appearing in the masks is controlled by simple dictionaries in the Django script The idea is, code developers fix this themselves there.

Similar but less crucial changes have occurred in the plot script and list runs etc. utilities, also likely easy to fix if one is guide to where and how to access the python/django codes.

I would need a written "howto" that remains with the app about changing and redeploying. As I have not touched the gateway in more than a year all possible prior knowledge has evaporated. One solution would be to have a "developer" access to the app, which shows the necessary info. But simpler immediate solutions are certainly possible.

scrinzi commented 7 months ago

After some assistance, README on repo provides a good guide for most standard issues.

Important to be reminded of: "Once the code is updated here, it should be automatically pulled by the hook in dev.ampgateway and deploy it." This works smoothly.

Will try to update to latest code and report issues. Close if all goes smoothly. No external action required for now.