Note that the following steps are intended as a rough outline. They are exact steps to replicate my setup, but your setup might differ depending on, for example, using an init system other than systemd or various other factors. Adjust as necessary.
- Run
docker volume create livebook-data
anddocker volume create livebook-config
. - Place the
livebook.service
file in$HOME/.config/systemd/user
. - Run
systemctl --user enable --now livebook.service
. - Place the
dev.livebook.Livebook.desktop
file in$HOME/.local/share/applications
. - Place the
dev.livebook.Livebook.svg
file in$HOME/.local/share/icons/hicolor/scalable/apps
. - Place the
livebook
file somewhere in your$PATH
. In my case, I put it in$HOME/.local/bin
. - Run
chmod a+x <path to file from step 6>
. - Run
xdg-mime default dev.livebook.Livebook.desktop x-scheme-handler/livebook
. - Place the
livebook-daemon
file somewhere. I put it in my path, but it doesn't have to be. - Run
chmod a+x <path to file from step 9>
. - Modify
livebook.service
so that theExecStart=
line has the absolute path to the location oflivebook-daemon
.
Voila. livebook://
URLs should now work.