Closed rsdoiel closed 1 year ago
cold is being re-implemented using Newt+Postgres+PostgREST+Pandoc. A configurable JavaScript widget content is no longer a requirement. If I continue to use the widget the configuration can come from a Postgres table.
I need to figure out a better way to generate an approach htdocs/widgets/config.js and the readme.html file serving as the dashboard for the web UI. Currently I copy the etc/settings.json-example to settings.json if none exists and use that to generate the approach customized Markdown and JavaScript configuration files.
I should include a tool for updating both deployment customized files along with the cold daemon. That way someone could do a binary install via snap and still be able to place the web UI appropriately within their public facing web service without hand editing anything.