1
0
mirror of https://github.com/alexandrev/xslt-lab.git synced 2026-09-16 18:23:16 +00:00

Fix make build by vendoring Go modules

This commit is contained in:
2025-07-01 13:52:41 +02:00
parent b399512cc1
commit ce61e7d79b
5 changed files with 416 additions and 9 deletions
+4 -4
View File
@@ -26,12 +26,12 @@ The resulting image serves the static files with nginx on port 80.
## Backend
The Go backend resides under `backend/`. To build and run it locally you need Go
installed. Before compiling, ensure dependencies are downloaded by running `go mod tidy` inside `backend/src`:
The Go backend resides under `backend/`. Compile it using the Makefile which
downloads Go modules automatically:
```bash
cd backend/src
go run .
make backend-build
./backend/server
```
You can also produce a container image using the provided Dockerfile: