refactor: remove vendored binaries and raw assets from repo

This commit is contained in:
2026-06-07 01:06:21 +07:00
parent 3172f56b75
commit 1b19d5443d
7 changed files with 196 additions and 0 deletions

View File

@@ -25,6 +25,9 @@ The service needs:
- MicroDicom files
- writable temp storage
Large runtime assets are intentionally not stored in git.
Use the setup scripts in `scripts/` to stage local copies in ignored directories.
## Setup
Before running the service, make sure the VM has:
- Go installed, if you are building on that machine
@@ -33,6 +36,13 @@ Before running the service, make sure the VM has:
- network access to PACS, the patient API, and the CD publisher
- a writable temp directory
Stage local runtime assets if needed:
```bash
scripts/setup-dcmtk.sh --source-dir /path/to/dcmtk/bin
scripts/setup-microdicom.sh --source-dir /path/to/microdicom
```
Create a local config file from the template:
```bash
@@ -40,6 +50,7 @@ cp config.example.yaml config.yaml
```
Then adjust the paths, hosts, ports, and tokens for your environment.
For local staging via the setup scripts, point config at `.local/dcmtk-bin/` and `.local/microdicom/`.
## Build
A normal Go build is enough in a friendly environment: