lana-k / sqliteviz

Instant offline SQL-powered data visualisation in your browser
https://sqliteviz.com
Apache License 2.0
2.16k stars 118 forks source link

Not loading the app UI in the browser #104

Closed dove88 closed 1 year ago

dove88 commented 2 years ago

I tried to load index.html from dist.map folder, unfortunately the web browser is not loading the UI of your app, hence can't not view anything from the app.

Kindly advise...

lana-k commented 2 years ago

Just in case: the last version of the app is deployed on https://sqliteviz.com/app/#/. So, you can always use the app there or install it from there and use it offline.

But if you want to deploy sqliteviz locally you need a local HTTP server. E.g. you can use Python HTTP server module as described on MDN. After installation of Python just run python3 -m http.server in the folder with index.html.

By default, this will run the contents of the directory on a local web server, on port 8000. You can go to this server by going to the URL localhost:8000 in your web browser.

dove88 commented 2 years ago

Thank you, i just tried with bracket live preview, app is working fine.