From 2923aab91609290236bae1e9daf051782a7784d9 Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Sun, 31 May 2026 23:41:02 +0200 Subject: [PATCH] cleanup docs --- CONTRIBUTING.md | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..65ba5f6 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,47 @@ +# Contributing + +## Requirements + +- [mise](https://mise.jdx.dev) — manages pnpm, rust, node (see `mise.toml`) +- docker or [colima](https://github.com/abiosoft/colima) (for redis) + +## Setup + +```bash +mise install +pnpm install +``` + +## Development + +```bash +pnpm run dev +``` + +Make sure docker/colima is running. This starts redis, the rust backend, the web client, and the CLI. The app is at [localhost:3000](http://localhost:3000). + +## Tests + +End-to-end tests with Playwright. + +```sh +pnpm run test:prepare +pnpm run test:local +``` + +## Release + +1. Update version across packages: + + ```sh + ./version.mjs + ``` + +2. Create and push the tag: + + ```sh + git tag v + git push --tags + ``` + +The CI workflow publishes the CLI to npm and the Docker image to Docker Hub automatically.