hudbrog / gCodeViewer

a visual web based gcode analyzer
Other
421 stars 150 forks source link

Question: Is possible to run gCodeViewer locally without docker? #88

Closed lucky62 closed 3 years ago

lucky62 commented 3 years ago

Is possible to run gCodeViewer locally without docker? If yes, then how?

hudbrog commented 3 years ago

Yes, but you should not do it ) Basically, you will need to run your browser with a command line key that would disable local file access restrictions: --allow-file-access-from-files is case of chrome. It's unsafe and is not recommended.

lucky62 commented 3 years ago

When gCodeViewer is running then it is acting as a server listening on port 8080. I would like to run it by the same way but I don't want to install docker...

Findus23 commented 3 years ago

Of course, you could also run a local webserver (e.g. something like python3 -m http.server 1234) and then access the site in your webbrowser.

lucky62 commented 3 years ago

Of course, you could also run a local webserver (e.g. something like python3 -m http.server 1234) and then access the site in your webbrowser.

Many thanks. Now I understand that this is a pretty web page which can be served by any regular web server.