From 555aed5fb42ac8f404571f1202f2294ab3a4b6e8 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Tue, 1 Apr 2025 22:41:16 -0400 Subject: [PATCH] docs/developer: add local dev docs for yeet Signed-off-by: Xe Iaso --- docs/docs/developer/local-dev.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/docs/docs/developer/local-dev.md b/docs/docs/developer/local-dev.md index 68634a4..e417a70 100644 --- a/docs/docs/developer/local-dev.md +++ b/docs/docs/developer/local-dev.md @@ -55,3 +55,32 @@ This builds a prod-ready container image with [ko](https://ko.build). If you wan ```text DOCKER_REPO=registry.host/org/repo DOCKER_METADATA_OUTPUT_TAGS=registry.host/org/repo:latest npm run container ``` + +## Building packages + +For more information, see [Building native packages is complicated](https://xeiaso.net/blog/2025/anubis-packaging/) and [#156: Debian, RPM, and binary tarball packages](https://github.com/TecharoHQ/anubis/issues/156). + +Install `yeet`: + +:::note + +`yeet` will soon be moved to a dedicated TecharoHQ repository. This is currently done in a hacky way in order to get this ready for user feedback. + +::: + +```text +go install within.website/x/cmd/yeet@v1.13.0 +``` + +Install the dependencies for Anubis: + +```text +npm ci +go mod download +``` + +Build the packages into `./var`: + +```text +yeet +```