Developer Environment Setup¶
The instructions here are for macOS; where appropriate, they'll proffer a Linux equivalent.
Info
Because I don't develop on Windows, I don't have equivalent instructions for setting up there. I would welcome Windows versions of these instructions!
Install your dependencies¶
On macOS, that means installing the following:
- Just
- gsed
- uv
- Docker (with the compose addon)
For simplicity, these instructions assume that you have Homebrew installed. After installing each tool, set your PATH appropriately as needed.
-
Just
Just is a task runner; it uses a Justfile to describe steps to run, and I use it here to manage the setup and development processes.
Install it from your package manager:
-
gsed
gsed is required on MacOS to run several scripts that bootstrap the Python environment. Linux environments are fine with just sed.
-
uv
uv is a Python package and project manager.
-
Docker compose
"Installing Docker" is beyond the scope of this document. You probably want Docker Desktop. Once it's installed and running, this should work:
For most of the development process, Docker is only used to run the local PostgreSQL, Redis, and mailcatcher components used in testing and locally running the site.