How to launch Dashboard in browser with Dash.jl

Hi all,

I am trying to launch a Dashboard in Dash.jl in my browser. Based on the documentation, I run the following code:

using Dash
using DashHtmlComponents
using DashCoreComponents

app = dash(external_stylesheets = ["https://codepen.io/chriddyp/pen/bWLwgP.css"])

app.layout = html_div() do
        html_h1("Hello Dash"),
        html_div("Dash.jl: Julia interface for Dash"),
        dcc_graph(
            id = "example-graph",
            figure = (
                data = [
                    (x = [1, 2, 3], y = [4, 1, 2], type = "bar", name = "SF"),
                    (x = [1, 2, 3], y = [2, 4, 5], type = "bar", name = "Montréal"),
                ],
                layout = (title = "Dash Data Visualization",)
            )
        )
    end

run_server(app, "0.0.0.0", 8080)

How do I launch it into my browser?

Sorry. I just realized the docs indicate http://127.0.0.1:8080. I was expecting it to automatically launch like Pluto. Is there a way to automate the process?

run(`"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" http://127.0.0.1:$port`)

1 Like

Much appreciated. Thank you!