this repo has no description

Update README with pixi installation instructions

+31 -13
+31 -13
README.md
··· 2 2 3 3 A simple Go web server demo for Tangled. 4 4 5 - ## CI/CD 5 + ## Installation 6 6 7 - This project uses Tangled Spindles for continuous integration. 7 + ### Via Pixi (Recommended) 8 8 9 - ## Running Locally 9 + First, [install pixi](https://prefix.dev/pixi) if you don't have it: 10 10 11 11 ```bash 12 - go run main.go 12 + # macOS/Linux 13 + curl -fsSL https://pixi.sh/install.sh | bash 14 + ``` 15 + 16 + Then install godemo from our conda channel: 17 + 18 + ```bash 19 + pixi global install godemo --channel https://prefix.dev/nandi-testing 20 + ``` 21 + 22 + ### From Source 23 + 24 + ```bash 25 + git clone https://tangled.org/@nandi.latha.org/godemo 26 + cd godemo 27 + go build -o godemo . 28 + ``` 29 + 30 + ## Running 31 + 32 + ```bash 33 + godemo 13 34 ``` 14 35 15 36 The server will start on port 8080 by default. ··· 19 40 - `/` - Returns a friendly greeting 20 41 - `/health` - Health check endpoint 21 42 22 - ## Building 23 - 24 - ```bash 25 - go build -o godemo . 26 - ``` 43 + ## CI/CD 27 44 28 - ## Spindle Pipelines 45 + This project uses [Tangled](https://tangled.org) Spindles for continuous integration and publishes to [prefix.dev](https://prefix.dev/nandi-testing/godemo). 29 46 30 - This repository includes two spindle workflows: 47 + ### Pipelines 31 48 32 49 - **build.yml** - Runs on push to main and PRs. Builds and tests the app. 33 50 - **release.yml** - Runs on version tags (v*). Builds release binaries for multiple platforms. 51 + - **conda-release.yml** - Runs on version tags (v*). Builds and publishes conda package to prefix.dev. 34 52 35 53 ## Releasing 36 54 37 - To trigger a release, push a version tag: 55 + To trigger a release, push an annotated tag: 38 56 39 57 ```bash 40 - git tag v1.0.0 58 + git tag -a v1.0.0 -m "Release v1.0.0" 41 59 git push origin v1.0.0 42 60 ```