This project uses the typst CLI to compile the syllabus source file into a PDF located at public/syllabus.pdf during the build process. You need to have typst installed on your system for this to work. On macOS, you can install it using Homebrew:
brew install typstYou also need to install dioxus-cli to run the development server:
cargo install cargo-binstall # if you don't already have binstall
cargo binstall dioxus-cliRun the following command in the root of your project:
dx serveThe first time you run this, it will take longer since it needs to build the public/ directory from homeworks/, lectures/, and src/syllabus.typ.
Background image credit to Annie Ruygt, image taken from this article.