Open fabcor-maxiv opened 4 months ago
Thanks,
I guess we can build the front end in the CI pipeline and then use pkg_resources.resource_filename
in someway to get the default path for flask
, do you think that might work ?
Yes, that could work, in principle.
I would use importlib.resources
rather than pkg_resources
, but that is detail.
Does any facility do customisation of the UI?
The idea is that the all customization that is needed can be done through configuration files, the removal of the .env
file was a last step in this process.
Not working on this right now, but it came to my mind anyway...
The idea would be to have the UI built in the wheels (and sdist), is that right? But does anyone install mxcubeweb directly from a wheel? Currently at MaxIV we don't, we install from a git checkout.
It could be helpful to have pre-built UI in Python packages for easier deployment. This should be investigated.