Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Improve integration/deployment of web front-end

オープン
#59 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
apache, php, python, typescript

調査の方向性

まず www、templates/index.html、server.py、installSpotbit.sh に残っている TODO を確認し、実行中の Spotbit インスタンスで /docs エンドポイントを調査します。proxy.php のレスポンス解析を新しい Spotbit エンドポイントに置き換え、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 www to the templates and static directories.
  • Rewrite server.py: @app.get('/') to serve the front-end.

TODO

  • Remove the www directory.
  • Update the code that parses Spotbit responses (use Typescript where possible).
    • templates/index.html uses a proxy.php endpoint. This should instead use the new Spotbit endpoints (whose documentation can be found at the /docs endpoint of a running Spotbit instance).
  • Update installSpotbit.sh or 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 はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

BlockchainCommons/spotbit のほかの issue

BlockchainCommons/spotbit の issue をすべて見る

似ている issue

DevOps の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。