A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://juliagizmos.github.io/Interact.jl/latest/deploying/ below:

Deploying the web app · Interact

Edit on GitHub Deploying the web app

Interact works with the following frontends:

Jupyter notebook/lab and Juno

Simply use display:

using Interact
ui = button()
display(ui)

Note that using Interact in Jupyter Lab requires installing an extension first:

cd(Pkg.dir("WebIO", "assets"))
;jupyter labextension install webio
;jupyter labextension enable webio/jupyterlab_entry
Electron window

To deploy the app as a standalone Electron window, one would use Blink.jl:

using Interact, Blink
w = Window()
body!(w, ui);
Browser

The app can also be served in a webpage:

using Interact, Mux
WebIO.webio_serve(page("/", req -> ui), rand(8000:9000)) # serve on a random port

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4