hdrake / simplEarth

30 stars 6 forks source link

Pluto binder link #1

Closed fonsp closed 3 years ago

fonsp commented 3 years ago

The relevant change is here -- Pluto changed its launch command: https://github.com/hdrake/simplEarth/pull/1/files#diff-585edaf367887bd021edbe8f4bd9577bbb3d2afbeef519e2e099d9690bcf27ec

The rest is two optimizations to make it load a bit faster on binder:

  1. added all used packages to Manifest.toml so that binder picks it up during the build process and precompiles the packages.
  2. combined all Pkg.add commands into a single one - this makes Pkg faster because it only needs to resolve the dependency graph once