Files
2026-06-07 01:30:02 +09:00
..
2026-06-07 01:10:07 +09:00
2026-06-07 01:30:02 +09:00
2026-06-07 01:10:07 +09:00
2026-06-07 01:30:02 +09:00
2026-06-07 01:10:07 +09:00
2026-06-07 01:10:07 +09:00
2026-06-07 01:30:02 +09:00

Codit package builds

This directory contains packaging files for Codit itself.

RPM

From this directory on Fedora/RHEL-like systems:

make rpm

Outputs are written under packaging/RPM/RPMS and packaging/RPM/SRPMS. The RPM installs:

  • /usr/sbin/codit-server
  • /usr/sbin/codit-data-browser
  • /etc/codit/codit.yaml
  • /etc/codit/conf.d/
  • /etc/sysconfig/codit
  • /usr/share/codit/frontend/
  • /usr/lib/systemd/system/codit.service
  • /var/lib/codit/data/
  • /var/log/codit/

Debian package in Docker

From this directory:

make deb-docker

The Debian helper builds frontend/dist natively on the host first with npm ci and npm run build. It then prepares a temporary Docker build tree containing the Codit source, the prebuilt frontend bundle, and a sibling repokit checkout so the Go build can compile the repokit dependency inside Docker.

By default it uses ubuntu:24.04 and ../repokit. Override with:

CODIT_DEB_IMAGE=debian:12 make deb-docker
CODIT_REPOKIT_DIR=/path/to/repokit make deb-docker

Outputs are written under packaging/DEB.

Runtime

After install:

systemctl enable --now codit.service

The default listener is :1080. Override configuration in /etc/codit/codit.yaml or add later-loaded YAML files under /etc/codit/conf.d/.