From 5f2ba9c3d37a1c8658aea411188a6763e982b1ab Mon Sep 17 00:00:00 2001 From: Bernhard Guillon Date: Mon, 6 Jul 2026 22:07:18 +0200 Subject: Add build instructions to README --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 16b7eb2..2046948 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,16 @@ A file synchronization tool that watches a source directory and syncs changes to 1. **Initial sync** — copies all non-ignored files from `/host` to `/data` 2. **Watch** — monitors `/host` for changes and syncs them in real-time +## Building + +```bash +# Build with Go (requires Go 1.24+) +go build -o sourcewatch . + +# Build Docker/Podman image +docker build -t sourcewatch . +``` + ## Usage ```bash -- cgit v1.2.3