Skip to content
ricochet

Julia

This page covers what you need to deploy Julia content to ricochet and how ricochet runs it.

Every Julia deployment needs a Manifest.toml file in the project root. Julia’s built-in package manager (Pkg) writes this lockfile. It records each package your project uses and its version.

[content]
name = "My Dash.jl App"
entrypoint = "app.jl"
access_type = "external"
content_type = "julia-service"
[language]
name = "julia"
packages = "Manifest.toml"
[serve]
min_instances = 0
max_instances = 5

You can deploy Julia content items as apps or tasks.

Content TypeDescription
julia-serviceA web app or API using a Julia runtime such as Dash.jl.
Content TypeDescription
juliaA Julia script.
quarto-jlA Quarto document using a Julia runtime. Can be served as a static site.

You must install Julia with juliaup. Ricochet supports only Julia versions that juliaup manages. Ricochet vendors juliaup at $RICOCHET_HOME/vendor.

Terminal window
juliaup add <version>

When ricochet gets a deployment, it uses juliaup to find the installed Julia channels and picks the right version.

When you deploy a bundle, ricochet uses Julia’s built-in package manager to install the packages listed in Manifest.toml.