Improve integration/deployment of web front-end
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- apache, php, python, typescript
- 领域
- devops, full-stack, web-dev
调研方向
首先检查 www、templates/index.html、server.py 和 installSpotbit.sh 中剩余的 TODO,并在正在运行的 Spotbit 实例上检查 /docs 端点。使用新的 Spotbit 端点替换对 proxy.php 响应的解析,移除 www,并更新 installSpotbit.sh,或添加通过 Apache 或其他反向代理进行托管的文档。
由索引模型根据 Issue 内容生成。
描述
Currently, the web front end is in the www directory. It has to be deployed separately from the Spotbit server.
We would like this web front-end to be served from Spotbit servers /. That is:
Done in #79
- Move the code and assets in
wwwto thetemplatesandstaticdirectories. - Rewrite
server.py: @app.get('/')to serve the front-end.
TODO
- Remove the
wwwdirectory. - Update the code that parses Spotbit responses (use Typescript where possible).
- templates/index.html uses a
proxy.phpendpoint. This should instead use the new Spotbit endpoints (whose documentation can be found at the/docsendpoint of a running Spotbit instance).
- templates/index.html uses a
- Update
installSpotbit.shor add documentation that describes how to host the front-end in clearnet using Apache or some other reverse proxy e.g. Caddy. (see https://fastapi.tiangolo.com/deployment/)
- 主要语言
- CSS
- 星标
- 36
- 派生
- 17
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
BlockchainCommons/spotbit 的其他 Issue
-
Integrate on-chain price oracle可能重新可做 @nochiel 于 1123 天前认领,目前没有进行中的 PR。 未关闭
BlockchainCommons/spotbit#106 · 已指派 1 人 ·
-
Failing API calls (spotbit.info/api is offline): Update CCXT and improve error handling可能重新可做 @nochiel 于 1125 天前认领,目前没有进行中的 PR。 未关闭bug spotbit.info API is offline
BlockchainCommons/spotbit#105 · 已指派 1 人 ·
-
Make a script for releasing Debian Packages of Spotbit可能重新可做 @nochiel 于 1301 天前认领,目前没有进行中的 PR。 未关闭enhancement
BlockchainCommons/spotbit#102 · 已指派 1 人 ·
-
Add a build script to create executables for release可能重新可做 @nochiel 于 1301 天前认领,目前没有进行中的 PR。 未关闭enhancement
BlockchainCommons/spotbit#77 · 已指派 1 人 ·
-
enhancement
难度 3/5 1-2 天 新手友好度 45/100
BlockchainCommons/spotbit#70 ·
查看 BlockchainCommons/spotbit 的全部 Issue
相似的 Issue
-
chore
难度 2/5 1-3 小时 新手友好度 76/100
SignalK/n2k-signalk#368 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 80/100
vicharanashala/spurti#241 ·
-
难度 2/5 1-3 小时 新手友好度 67/100
taskcluster/taskcluster#9284 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
ROCm/rocm-systems#13754 · 2 条评论 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
splunk/terraform-provider-splunk#256 · 1 条评论 ·
维护者通常 1 天内回复