Update ReadMe
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 78/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- mysql, python
調査の方向性
まず README.md と requirements.txt、app/dbConfig.yaml、app/models/models.py、create_db.py、app.py を読み、提案されたセットアップ手順がプロジェクトに合っているか確認します。Python 3.11、MySQL、データベースの初期化、アプリの実行を含め、macOS と Windows 向けの前提条件とセットアップ手順を書き直します。初めて貢献する人が README に従ってどちらの OS でもアプリを起動でき、古い記述がなくなれば完了です。
索引モデルが issue の本文から書いたものです。
説明
The current README.md is significantly outdated and references legacy tools, EOL software versions, and deprecated cloud environments (such as Python 2.7). New contributors cannot successfully set up the project using the existing documentation.
Currently fails to run source setup.sh and create_db.py.
Proposed Action Items
- Rewrite Prerequisites:
- Update required Python version to Python 3.10+
- Modernize Installation & Setup:
- Update dependency installation steps (e.g.,
pip install -r requirements.txt). - Clarify database initialization (
create_db.py).
- Update dependency installation steps (e.g.,
Additional details
The README needs to work for both macOS and Windows contributors.
What is wrong with the current README
- Says Python 2.7 is required. The app is Python 3.
- Tells people to clone from Bitbucket and mentions Cloud9. The repo is on GitHub.
- Says to run
source setup.sh. It also creates the venv with whateverpython3is newest on the machine. - Never mentions that MySQL is required. The app connects to a MySQL database (see
app/dbConfig.yamlandapp/models/models.py). - Says to use
https://to open the app.app.pydoes not set up SSL, so it ishttp://localhost:8080. - Refers to files and folders that no longer match the repo (for example the "File Hierarchy" section).
Known setup problems to document
- Python version: On Python 3.14,
pip install -r requirements.txtfails while buildinggreenlet==1.1.0. The pinned packages inrequirements.txtare from 2021, so the README should name a specific supported version (for example 3.11) rather than "3.10+" and warn against newer ones. Better still, update thegreenletpin inrequirements.txtso the install works on newer Python. - MySQL setup: The app expects a database
casand a usercas_userwith the passwordpassword(fromapp/dbConfig.yaml). The README should give the SQL to create them:CREATE DATABASE IF NOT EXISTS cas; CREATE USER IF NOT EXISTS 'cas_user'@'localhost' IDENTIFIED BY 'password'; GRANT ALL ON cas.* TO 'cas_user'@'localhost';
What the new README should contain
- Prerequisites: Git, Python 3.11, MySQL (with a note on how to check the MySQL server is running on each OS).
- Get the code:
git clone https://github.com/BCStudentSoftwareDevTeam/cas.git - Create the virtual environment and install packages, with separate commands for each OS:
- macOS:
python3.11 -m venv venvthensource venv/bin/activate - Windows (PowerShell):
py -3.11 -m venv venvthenvenv\Scripts\Activate.ps1
- macOS:
- Create the MySQL database and user (the SQL above).
- Create the tables and sample data:
mkdir datathenpython create_db.py. - Run the app:
python app.py, then openhttp://localhost:8080. - Returning later: activate the venv and run
python app.py. - Troubleshooting, for example:
- "Can't connect to MySQL server": the MySQL service is not running or is on a different port.
- "Access denied for user 'cas_user'": redo the database user step.
- pip fails building a package: check
python --versionis the supported version. - "Address already in use": another program is using port 8080.
Acceptance criteria
- Someone with a fresh macOS or Windows machine can go from clone to a running app using only the README.
- The README no longer mentions Python 2.7, Bitbucket or Cloud9.
setup.shis either removed from the instructions or replaced by steps that work on Windows.
- 主要言語
- JavaScript
- スター
- 0
- フォーク
- 2
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
BCStudentSoftwareDevTeam/cas のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
BCStudentSoftwareDevTeam/cas#443 ·
-
Error pages direct user to contact system support, without providing contact information.対応中かも @baobao1355 が 5 日前に担当しました。 オープンgood first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
BCStudentSoftwareDevTeam/cas#439 · 担当者 1 名 ·
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
BCStudentSoftwareDevTeam/cas#438 ·
-
Locked term notice対応中かも @bakobagassas が 5 日前に担当しました。 オープン
BCStudentSoftwareDevTeam/cas#441 · 担当者 1 名 ·
-
Footer overlap after JS interaction対応中かも @NYABUTOA が 5 日前に担当しました。 オープンgood first issue
難易度 3/5 半日 初心者へのやさしさ 45/100
BCStudentSoftwareDevTeam/cas#440 · コメント 1 件 · 担当者 1 名 ·
BCStudentSoftwareDevTeam/cas の issue をすべて見る
似ている issue
-
Clinic sharing: fast sync refusal message suggests Delete Data, which only developer builds haveオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
avniproject/avni-client#2228 ·
-
bug confirmed issue
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
open-webui/open-webui#33196 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
fable-compiler/Fable#5157 ·
メンテナーはふだん 1 日以内に返信
-
New tool: PaperBanana対応中かも @github-actions が今日担当しました。 オープンsubmission triage
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
kausalflow/tools#243 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area: apple-music area: build-release bug effort: small priority: high
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
ChristianTabor/Argon#32 ·
メンテナーはふだん 1 日以内に返信