PrecompilePlutoCourse.jl

Lifecycle Build Status codecov.io

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()

Usage

  1. Add this package to your project
pkg> add https://github.com/jbrea/PrecompilePlutoCourse.jl#main
  1. Create and customize a warmup.jl file. See Demo/precompile/warmup.jl for a minimal example or this customized warmup file. The warmup.jl file will be passed to the precompile_execution_file argument of the PackageCompiler.

  2. Configure PrecompilePlutoCourse in the __init__() function of your package as e.g. in Demo/src/Demo.jl or here.