This uses the server that provides the overlay to also add a couple endpoints to view logs/restart a specific service. There's an extremely minimal UI as well available at the root route, and the overlay js was moved to /overlay.js.
Screenshot of the very awesome™ UI and the terminal running architect dev after clicking the restart button:
I also updated the overlay so the logs/restart buttons run the actions directly (logs will open a new window, restart will restart the service immediately).
This may not be the actual desired behavior, but that was my leaping off point - since this is just a draft I left it in for now, want to validate whether there's anything here we want to continue working on before going further. Lots of cleanup and improvements if we do want to go further, like making the server code not a mess, but it's functional for a proof-of-concept 😛
To test this:
Checkout the branch
Run architect dev on anything
Open localhost:60001 and you'll see the UI, click buttons
This uses the server that provides the overlay to also add a couple endpoints to view logs/restart a specific service. There's an extremely minimal UI as well available at the root route, and the overlay js was moved to
/overlay.js
.Screenshot of the very awesome™ UI and the terminal running
architect dev
after clicking the restart button:I also updated the overlay so the logs/restart buttons run the actions directly (logs will open a new window, restart will restart the service immediately).
This may not be the actual desired behavior, but that was my leaping off point - since this is just a draft I left it in for now, want to validate whether there's anything here we want to continue working on before going further. Lots of cleanup and improvements if we do want to go further, like making the server code not a mess, but it's functional for a proof-of-concept 😛
To test this:
architect dev
on anythinglocalhost:60001
and you'll see the UI, click buttons