Navigate at the root of this repository and start Julia with julia --project=app
.
Instantiate the project, then include app/main.jl
to start the interface on 127.0.0.1:9000/
.
app/main.jl
file demo include a wild card, which is insecure on a server, as it can run arbitrary code.
If you are serving the app publicly, do not include :Wildcard
among the options.
DashiBoard.jl can be compiled to a stand-alone app as follows:
using PackageCompiler
create_app("path/to/DashiBoard", "path/to/new/app/folder",
include_transitive_dependencies=false)
For instance, provided PackageCompiler is installed in the global environment, one can navigate to the root folder of this repository and run
julia -q --project
julia> using Pkg, PackageCompiler
julia> create_app(".", "AppFolder", include_transitive_dependencies=false)