Skip to content

JuliaHealth/HealthDash.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Draft for a New Genie Template

Highlights

  • Largely reduced TTFX: startup time of <10s from zero to the the served page via docker, without sysimage compilation!
  • New Dockerfile and docker-compose.yml with cached precompilation!
  • New concept: app as a package, start by no more than using GenieTemplate, can be hosted on a package server

Showcases

  • self-hosting of Material Icons and Material Symbols of the latest version
  • no core_theme (if you run into styling problems)
  • dynamic layout with toolbar and drawer

Status

The purpose of this template is to develop a new App template and perhaps a layout/template gallery. When this template proves to be reasonable stable and performant, we will think about simplifications in code style.

We are thankful for any feedback!

Usage

Installation

git clone https://github.com/GenieFramework/StippleDemos
cd StippleDemos/AdvancedExamples/GenieTemplate

Starting of the App

Inside of Julia

julia> cd("path/to/GenieTemplate")
(@v1.11) pkg> activate .
julia> using GenieTemplate

or for measurement of startup time (displayed at the REPL)

julia> using GenieTemplate; openbrowser()

or outside of Julia via

julia --project=path/to/GenieTemplate -e "using GenieTemplate; @wait"

There's also a helper script app.jl that starts the app, so that

julia --project app.jl

will start serving the app.

Deployment

For deployment we have a new Dockerfile together with a docker-compose.yml so that a container can be build and run via

docker compose build
docker compose up

Both files need to be adapted to match the application's name.

Docs

Acknowledgement

The Layout of the app was copied with only minor changes from Quasar's Layout Template Gallery

The material fonts are from Google's icon pages

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published