ui
ui copied to clipboard
Include JS/CSS libraries in project
Just got done trying to setup Prefect for an offline network using Docker and ran into a ton of problems surrounding the UI trying to reach out to the internet and download JS/CSS. This has effectively made Prefect unusable or at least defeats much of the reasons I chose to go with Prefect over Airflow.
Is there an simple way to include all the external JS/CSS without having to go edit all the places?
Hi @usmcamp0811 - the UI should work in air-gapped environments. Can you point to a specific issue you ran into that prevented you from deploying?
yea I'll compile a whole list or at least as many as I can identify tomorrow as I'm not on that system right now, but I remember that the UI was using Google Fonts that required pulling them from Google, and the Apollo backend is 100% not usable as it tries to reach out to CDNs and is just a blank page.
There might be a way for us to still use Prefect even with the UI being hosed, but one of the big selling points of Prefect was the UI!
@usmcamp0811 can you confirm which version of Prefect you're on and which UI image you're using? Just tested the latest version (0.15.3) without internet without any issues.