Match the backend and engine setup steps on the Contributing page to their READMEs

Aperta Adatta ai principianti
#20 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
1/5
Tempo stimato
1-3 ore
Idoneità per principianti
88/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
markdown, python
Ambito
documentation

Direzione di ricerca

Leggi le sezioni Backend ed Engine in docs/contributing.md e confrontale con i titoli collegati dei README. Aggiorna solo quei riepiloghi in modo che elenchino ogni comando di configurazione e test nell’ordine del README, inclusi i link facoltativi ai titoli. Il lavoro è completato quando entrambi gli elenchi corrispondono ai README e non cambia nessun altro contenuto delle pagine.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

documentation good first issue

What to change

The site's Contributing page sums up how to set up each repository. Two of those summaries have fallen behind the READMEs they summarize. Each repository's README is the source of truth, so change the site to match them.

  1. Backend. The page says the quick start runs docker compose up -d --wait, then uv run pytest. The backend README's Quick start has more steps: cp .env.example .env, uv sync, docker compose up -d --wait, uv run python manage.py migrate, then uv run pytest. If someone skips the .env copy, the commands have no settings. Name those steps in order. You can also link the Quick start heading.
  2. Engine. The page says to run pytest, ruff check ., and mypy src. The engine README's Setup and tests also runs ruff format ., and it installs into a virtual environment first (python -m venv .venv, then source .venv/bin/activate). Add both. You can link that heading too.

Don't change anything else on the page. The frontend summary (Node 26, pnpm, site/ and app/) still matches the frontend's guide. The sentence saying the engine "has no guide of its own" is also still true: the engine has no CONTRIBUTING.md, and its README points to the organization guide.

Where to look

Copy the command text exactly from main in those READMEs. If a README has changed since this issue was written, follow the README.

How to test

From CONTRIBUTING.md:

uv sync
uv run pytest
uv run python scripts/check_docs.py
uv run zensical build --strict
uv run zensical serve

Open http://localhost:8000/contributing/. Check that the Backend and Engine sections list the same steps as the READMEs, in the same order, and that any new links open the right heading.

Done when

  • The Backend section names the .env copy, uv sync, docker compose up -d --wait, the migrate step, and uv run pytest, in the README's order.
  • The Engine section names the virtual environment, pip install -e ".[dev]", pytest, ruff check ., ruff format ., and mypy src.
  • Nothing else on the page changed, and the page has no emojis or em dashes.
  • uv run pytest, uv run python scripts/check_docs.py, and uv run zensical build --strict all pass.
Lingua principale
Python
Stelle
0
Fork
0
Merge medio
10h 40m
PR unite (30g)
11

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di openpickleball/developers

Tutte le issue di openpickleball/developers

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.