Public Access
README: FreeBSD jail needs py-sqlite3, rust and base dev files
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -67,7 +67,11 @@ To import assignments, run `tag-albums import-yaml` inside the container, e.g. `
|
||||
## Deploying in a FreeBSD jail
|
||||
|
||||
```sh
|
||||
pkg install python311 py311-uv git # or any Python >= 3.11
|
||||
pkg install python313 py313-sqlite3 py313-uv git rust # any Python >= 3.11; sqlite3 is a separate package
|
||||
# uv compiles pydantic-core (Rust) and a few C extensions from source, since
|
||||
# FreeBSD has no prebuilt wheels. The jail needs the base system's development
|
||||
# files for that (e.g. /usr/lib/Scrt1.o, crti.o, libc): on a pkgbase jail,
|
||||
# install the FreeBSD-*-dev packages (or the devel set) from the FreeBSD-base repo.
|
||||
pw useradd tagalbums -d /nonexistent -s /usr/sbin/nologin
|
||||
git clone <repo> /usr/local/tag-albums && cd /usr/local/tag-albums && uv sync --no-dev
|
||||
install -d -o tagalbums /var/db/tag_albums
|
||||
|
||||
Reference in New Issue
Block a user