Jupyter4Science / jupyterlab-ide

JupyterLab + tab completion + debugger + linter = Fully-fleged IDE
MIT License
3 stars 0 forks source link

xdg-open can't find browser to open quarto book preview #1

Open nicole-brewer opened 1 year ago

nicole-brewer commented 1 year ago

I get this error when trying to preview a quarto book with the command quarto preview mybook. I understand this is because the container doesn't have a browser. I'd like to connect to my local browser, perhaps using xdg-open-server.

nicole-brewer commented 1 year ago

This gh issue show that all I needed was a few options to run the preview on the image localhost on port 4200 using the options --host 0.0.0.0 --port 4200 --no-browser. From there all was needed was to expose that port on the Docker image.