hdrake / OptimizeClimate

MOVED TO http://github.com/ClimateMARGO/ClimateMARGO.jl
http://github.com/ClimateMARGO/ClimateMARGO.jl
1 stars 0 forks source link

Web interface / dashboard #18

Open hdrake opened 4 years ago

hdrake commented 4 years ago

I am not sure of the best way to do this, but probably we are better off finding a way to get the dashboard to run on the client's machine, rather than our own server.

One option is using voila to format a jupyter notebook into an interactive dashboard and binder to share it with others (see example). The downside is that it can take several seconds to book up the binder environment since the julia code is running directly on the client's machine.

hdrake commented 4 years ago

Pulling in @shashi

hdrake commented 4 years ago

@shashi showed me how to using Interact.jl to make interactive widgets that wrap julia code and how to combine it with WebIO.jl and Mux.jl to deploy the widget as a standalone web page app.

We would need to have the julia code running on some backend server (e.g. a commercial cloud platform). It may be easiest to publish it to Heroku, although we would need to think through the payment structure.

shashi commented 4 years ago

Nice summary with the right links :+1:

hdrake commented 4 years ago

@alanedelman showed the example of https://covid-county-dash3.herokuapp.com, which has almost all of the functionality we would want (source: https://github.com/mbauman/covid19).