Mavenomics / MavenWorks

Agile Dashboarding, anywhere
https://mavenworks.com
GNU General Public License v3.0
18 stars 2 forks source link

Proposal: CLI for MavenWorks config server #23

Closed quigleyj-mavenomics closed 4 years ago

quigleyj-mavenomics commented 5 years ago

Config Server CLI runner

What

This proposal is for a console runner that accomplishes the following:

These goals will significantly alleviate deployment concerns and offer a pathway to utilize the increasingly robust Config Server that adds functionality to the MavenWorks Standalone client.

Why

Right now, the Config Server must be run from a source checkout. This is inconvenient for a number of reasons:

It's obvious that we need some easier way of running a config server and deploying it with the front end. One possible approach is a CLI runner, much like how JupyterLab integrates with the jupyter CLI tool to start/manage JupyterLab.

This CLI tool should make it easy to start and manage a ConfigServer. ConfigServers have some settings that should be conveniently exposed via this CLI runner (such as hostname/port, login auth, DB location, etc).

We've also yet to address how plugin management will work. At the risk of bikeshedding what I have no doubt will become the most complicated part of this project, I think there's something spikable that we can do here.

Plan

User spec

Assume that the name of the CLI runner is something like mavenworks

Basic commands:

YairMarcowMavenomics commented 5 years ago

Next steps: describe and plan out how to do implement the necessary settings management for the standalone client to have to access to