Occupied ports and notifications
还没有人认领这个 Issue。
评估
调研方向
从 bin/middleman server 命令以及描述 http://localhost:4567 的文档开始。检查该命令如何处理已被占用的端口和启动时机;完成的标准是它选择或报告一个可用的本地 URL,并且文档说明何时以及连接到哪里。
由索引模型根据 Issue 内容生成。
描述
I did:
bin/middleman server
The documentation then says:
Then visit http://localhost:4567.
However nothing happened there. This may be because I have had a sinatra app
running on that port.
Would it be possible for TryRuby to first check for open ports;
then use an open port; and also on the commandline show
which local URL I could use? Sinatra does that by the way.
Edit: Actually it now works at:
Perhaps the documentation can mention that we should wait a bit?
It seems it took a few seconds or so. Now it works hmmm.
- 主要语言
- Ruby
- 星标
- 258
- 派生
- 113
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ruby/TryRuby 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 64/100
-
docs: clarify default parameter behavior in section Quickening it Up and fix Portuguese translation typo可能已有人在做 @MatheoPaiva 于 2 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 40/100
-
难度 4/5 3-5 天 新手友好度 25/100
-
难度 2/5 1-3 小时 新手友好度 48/100
-
难度 4/5 3-5 天 新手友好度 25/100
相似的 Issue
-
🐛 bug 👩💻 équipe CE 🧑🏭 entreprises
难度 2/5 1-3 小时 新手友好度 76/100
betagouv/conseillers-entreprises#4808 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
yosiat/panko_serializer#250 ·
-
难度 1/5 1 小时以内 新手友好度 75/100
cline/mcp-marketplace#3886 ·
-
难度 2/5 1-3 小时 新手友好度 78/100