polymath
polymath copied to clipboard
Implement config editor
To use our cool new config system, let's make editing configs easy.
The pattern I want to try is this:
- Config system provides two Flask routes: one for
GETand one forPOST. - The
GETroute renders Web UI for editing configuration and usesPOSTroute to update the the config - The route takes
*ConfigStoreand*Configtype as a parameter - When I need to edit config, I start a Flask server, add these routes to it
- ✨