To build, first you need to install graphviz:
- macOS with Homebrew
brew install graphviz- macOS with MacPorts
sudo port install graphviz- apt-based Linux distribution
sudo apt install graphvizThen make sure you have installed node and npm
- macOS with Homebrew
brew install node- macOS with MacPorts
sudo port install nodejs21 npm10- apt-based Linux distribution
sudo apt install nodejs npmInstall sketchviz
npm iInstall uv, follow the instructions in their documentation
https://docs.astral.sh/uv/getting-started/installation/, uv will handle all
the dependencies and the python installation as well. So we don't need to
install python separately.
Then install all the necessary packages (make sure to change to the root directory of the project):
uv syncYou can build the html files of the blog by running the following command:
uv run poe buildThen you can serve the files locally using this command:
uv run ablog serve