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
- 星标
- 256
- 派生
- 110
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ruby/TryRuby 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 25/100
-
难度 2/5 1-3 小时 新手友好度 48/100
-
难度 3/5 1-2 天 新手友好度 45/100
-
难度 4/5 3-5 天 新手友好度 25/100
相似的 Issue
-
feature
难度 2/5 1-3 小时 新手友好度 64/100
betagouv/acces-cible#722 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
foobara/empty-ruby-project-generator#10 · 2 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 90/100
-
难度 2/5 1-3 小时 新手友好度 88/100
-
バグ
难度 1/5 1 小时以内 新手友好度 92/100