If you have a course with Pluto notebooks and you would like to ship it with custom sysimages, use this package as shown in the demo or in MLCourse.
The students, who study the notebooks in the
Demo project, will be able to create a custom sysimage with
using Demo Demo.create_sysimage()
and use the custom sysimage with
using Demo Demo.start()
- Add this package to your project
pkg> add https://github.com/jbrea/PrecompilePlutoCourse.jl#main
Create and customize a
warmup.jlfile. See Demo/precompile/warmup.jl for a minimal example or this customized warmup file. The
warmup.jlfile will be passed to the
precompile_execution_fileargument of the PackageCompiler.