Repository navigation
docs(sim): document usage and Gate 3 screenshots - #6
Conversation
|
Mateo Rossi · reviewer The README says the bridge needs the socket's group. Does anyone have to set README 说 bridge 需要 socket 所属的组。有人需要手动设置 |
|
Noah Williams · author No. 不需要。 |
|
Mateo Rossi · reviewer Does the screenshot table say which Gatepost code the capture came from? 截图表格有没有写明截图对应的 Gatepost 代码版本? |
|
Noah Williams · author Yes, the row names the working revision and the crash revision used through the adapter, next to the command that produced the file. 有。表格这一行写明了正常版本和通过适配器运行的崩溃版本,旁边是生成该文件的命令。 |
Why
The repository had no README. People running the simulator need to know how to start and stop an entrance, what the browser messages are, and what access the bridge has, and the Gate 3 crash needs a reference screenshot.
What changed
README.mdandREADME.zh-CN.md: runningscripts/venue.sh up|status|downagainst a Gatepost checkout, the Gate 3 crash option--gate3-crash DIR,SIM_PORT,DOCKER_GIDandAUTO_PASS_MS, the/wsmessage types in both directions, the development commands, and the Docker socket warning with the loopback-only page and the project and service allow-list.docs/screenshots/README.mdand its Chinese version with a table forgate3-stopped.png: the scenario, the two Gatepost revisions used, and the Playwright command.docs/screenshots/gate3-stopped.png(1440 × 900, light scheme) frome2e/real-gate3-stopped.spec.ts.How to verify
Open
README.mdanddocs/screenshots/gate3-stopped.png. The screenshot should show Gate 3 with its scanner and outputs down while the other lanes are connected. To produce it again, start an entrance with--gate3-crashas the README describes and run:背景
仓库还没有 README。运行模拟器的人需要知道如何启动和停止入口、浏览器消息有哪些、bridge 拥有什么权限;Gate 3 崩溃也需要一张参考截图。
改动
README.md和README.zh-CN.md:说明如何针对 Gatepost 检出运行scripts/venue.sh up|status|down、Gate 3 崩溃场景的--gate3-crash DIR选项、SIM_PORT、DOCKER_GID和AUTO_PASS_MS、/ws上双向的消息类型、开发命令,以及关于 Docker socket 的警告:页面只发布到回环地址,操作前会检查项目和服务白名单。docs/screenshots/README.md及中文版,用表格说明gate3-stopped.png:场景、所用的两个 Gatepost 版本和 Playwright 命令。e2e/real-gate3-stopped.spec.ts生成的docs/screenshots/gate3-stopped.png(1440 × 900,浅色主题)。怎么验证
打开
README.md和docs/screenshots/gate3-stopped.png。截图中 Gate 3 的扫码器和输出端应显示掉线,其余通道仍然连接。要重新生成,按 README 用--gate3-crash启动入口,然后运行: