···2233A simple Go web server demo for Tangled.
4455-## CI/CD
55+## Installation
6677-This project uses Tangled Spindles for continuous integration.
77+### Via Pixi (Recommended)
8899-## Running Locally
99+First, [install pixi](https://prefix.dev/pixi) if you don't have it:
10101111```bash
1212-go run main.go
1212+# macOS/Linux
1313+curl -fsSL https://pixi.sh/install.sh | bash
1414+```
1515+1616+Then install godemo from our conda channel:
1717+1818+```bash
1919+pixi global install godemo --channel https://prefix.dev/nandi-testing
2020+```
2121+2222+### From Source
2323+2424+```bash
2525+git clone https://tangled.org/@nandi.latha.org/godemo
2626+cd godemo
2727+go build -o godemo .
2828+```
2929+3030+## Running
3131+3232+```bash
3333+godemo
1334```
14351536The server will start on port 8080 by default.
···1940- `/` - Returns a friendly greeting
2041- `/health` - Health check endpoint
21422222-## Building
2323-2424-```bash
2525-go build -o godemo .
2626-```
4343+## CI/CD
27442828-## Spindle Pipelines
4545+This project uses [Tangled](https://tangled.org) Spindles for continuous integration and publishes to [prefix.dev](https://prefix.dev/nandi-testing/godemo).
29463030-This repository includes two spindle workflows:
4747+### Pipelines
31483249- **build.yml** - Runs on push to main and PRs. Builds and tests the app.
3350- **release.yml** - Runs on version tags (v*). Builds release binaries for multiple platforms.
5151+- **conda-release.yml** - Runs on version tags (v*). Builds and publishes conda package to prefix.dev.
34523553## Releasing
36543737-To trigger a release, push a version tag:
5555+To trigger a release, push an annotated tag:
38563957```bash
4040-git tag v1.0.0
5858+git tag -a v1.0.0 -m "Release v1.0.0"
4159git push origin v1.0.0
4260```