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

docs: add backend build steps

This commit is contained in:
2025-07-01 09:51:24 +02:00
parent b56df065bf
commit 0ae9933268
+18
View File
@@ -23,3 +23,21 @@ docker build -t xslt-playground-frontend frontend
```
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:
```bash
cd backend/src
go run .
```
You can also produce a container image using the provided Dockerfile:
```bash
docker build -t xslt-playground-backend backend
```
By default it listens on port `8000` as configured in `backend/app.config`.