This adds a route to bottle (http://ethoscope-abcdef.local/onlinesupport) that triggers the online update/support tool. Note that there is no link in the GUI to this - current plan is that when we need to provide support we tell them to type the address in.
I'm a little reticent to put this code in the node server because it has to couple tightly with something outside of the ethoscope codebase. I'll figure out a better way to do it in the future.
I'm also not fully convinced about how the output is displayed. It takes it in turns doing blocking queries on stdout and stderr. So if no error is displayed output is held up until the pipe closes. Another thing to sort out in the future.
This adds a route to bottle (
http://ethoscope-abcdef.local/onlinesupport
) that triggers the online update/support tool. Note that there is no link in the GUI to this - current plan is that when we need to provide support we tell them to type the address in.I'm a little reticent to put this code in the node server because it has to couple tightly with something outside of the ethoscope codebase. I'll figure out a better way to do it in the future.
I'm also not fully convinced about how the output is displayed. It takes it in turns doing blocking queries on stdout and stderr. So if no error is displayed output is held up until the pipe closes. Another thing to sort out in the future.