Improve integration/deployment of web front-end
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- apache, php, python, typescript
- Lĩnh vực
- devops, full-stack, web-dev
Hướng nghiên cứu
Bắt đầu bằng cách xem xét các TODO còn lại trong www, templates/index.html, server.py và installSpotbit.sh, đồng thời kiểm tra endpoint /docs trên một instance Spotbit đang chạy. Thay thế việc phân tích phản hồi của proxy.php bằng các endpoint Spotbit mới, xóa www và cập nhật installSpotbit.sh hoặc bổ sung tài liệu về việc host thông qua Apache hoặc một reverse proxy khác.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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/)
- Ngôn ngữ chính
- CSS
- Star
- 36
- Fork
- 17
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của BlockchainCommons/spotbit
-
Integrate on-chain price oracleCó thể làm lại được @nochiel đã nhận 1124 ngày trước và không có pull request nào đang mở. Đang mở
BlockchainCommons/spotbit#106 · 1 người được giao ·
-
Failing API calls (spotbit.info/api is offline): Update CCXT and improve error handlingCó thể làm lại được @nochiel đã nhận 1126 ngày trước và không có pull request nào đang mở. Đang mởbug spotbit.info API is offline
BlockchainCommons/spotbit#105 · 1 người được giao ·
-
Make a script for releasing Debian Packages of SpotbitCó thể làm lại được @nochiel đã nhận 1302 ngày trước và không có pull request nào đang mở. Đang mởenhancement
BlockchainCommons/spotbit#102 · 1 người được giao ·
-
Add a build script to create executables for releaseCó thể làm lại được @nochiel đã nhận 1302 ngày trước và không có pull request nào đang mở. Đang mởenhancement
BlockchainCommons/spotbit#77 · 1 người được giao ·
-
Add and document dockerfileĐang mởenhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
BlockchainCommons/spotbit#70 ·
Tất cả issue của BlockchainCommons/spotbit
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
OpenCarControls/firmware#31 ·
-
security-scan-failure
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
semantica-agi/semantica#2062 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
FootprintAI/Containarium#2869 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
nixos/crowdsec: escape % in tmpfiles f+ payloads (profiles with Sprintf("%dh") are never written)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày