Skip to content

docs: add Windows PowerShell quick-start tabs - #158

Merged
zhenghaoz merged 3 commits into
gorse-io:mainfrom
zhangzhenghao:docs/quick-start-powershell
Oct 18, 2026
Merged

zhenghaoz merged 3 commits into
gorse-io:mainfrom
zhangzhenghao:docs/quick-start-powershell

Conversation

@zhangzhenghao

@zhangzhenghao zhangzhenghao commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Add Linux/macOS and Windows tabs in both English and Chinese quick-start guides.
  • Cover configuration downloads, dataset download/decompression/import, feedback insertion, and recommendation retrieval.
  • Use PowerShell Invoke-WebRequest for downloads, .NET GZipStream for gzip decompression, and Invoke-RestMethod -InFile for binary restore.
  • Fix the Bash JSON heredoc so copied commands send valid JSON.
  • Keep identical Docker commands shared between platforms.

Verification

  • pnpm docs:build and git diff --check pass.
  • Extracted Bash and PowerShell setup examples execute against an explicit local binary fixture and HTTP capture server: configuration output paths, gzip decompression, and byte-identical binary uploads all pass in both locales (16 HTTP requests).
  • Feedback/recommendation examples pass request-construction checks in both shells and locales (8 HTTP requests).
  • Generated HTML contains all four Linux/macOS and Windows tab groups per locale.

PowerShell was exercised on Linux. Native Windows PowerShell 5.1 and a live Gorse database restore were not tested.

@zhenghaoz
zhenghaoz merged commit 7efbe92 into gorse-io:main Oct 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants