Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 1.06 KB

File metadata and controls

50 lines (33 loc) · 1.06 KB

Development recipes

I'm trying out runme as a playbook-runner-thingy. Install it and run runme from the elly/ folder.

Lint

Run golangci-lint locally (same version as CI):

go tool golangci-lint run

Local dev

With a .env file containing something like:

export GITHUB_PATH=github_pat_123k135hjhhjtjethwejhtjh5jhj
find . | grep -E 'html|go' | entr -r -s 'source .env && go run .'

Install the latest released version

Assumes using contrib/elly.service

git fetch --all; rm -f $(which elly); go install github.com/chelmertz/elly@$(git tag --sort=version:refname | tail -n1) && systemctl restart --user elly

Tag new release

make release

Run with Docker Compose

Requires a .env file with GITHUB_PAT=... (no export prefix).

docker compose up --build

Install or update docker image locally

docker pull ghcr.io/chelmertz/elly:latest