-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to open Kedro viz build folder locally? #1918
Comments
Same exact issue over here |
After a few checks the reason we are not able to visualize it properly is the next one (using the console ) Maybe it's not the best but if you want a fast fix you can do the next. Go to the folder build/ and run python -m http.server 8000 creating your own http server and then will work |
Previously reported at #1721 (comment) |
Currently, attempting to run The issue is inherently linked to browser-level security, not something that can be resolved purely by modifying the frontend code or server configurations. Changing browser CORS behavior from the JavaScript side or embedding special headers is not possible when using Therefore, the recommendation for a proper user experience is to run I will update existing documentation of |
To note, a user complained last week that lack of "double click" open was a limitation for them. So, although we've documented why this is not currently possible in #2126 👍🏼 I think we should keep an eye on this and, if we notice more people are affected, try reworking the output of |
Description
Is your feature request related to a problem? A clear and concise description of what the problem is: "I'm always frustrated when ..."
I have a request from user which need to share viz with 0 infrastructure. At the end I recommend just using
kedro viz build
and open theindex.html
directly. My impression is that I can open the index.html, but it doesn't work as I get a kedro-viz UI but things are not loaded properly. Maybe the it's a routing issue similar to the sub-path?I recalled I can do this with
sphinx doc build
. At the end I have to use the vscode extension "Live Serverand open
index.html` with it, so it's a mini web server running behind.Questions:
The text was updated successfully, but these errors were encountered: