This repository was archived by the owner on Nov 26, 2026. It is now read-only.
Repository navigation
fix: correct typos in start script module name and README script name - #27
Open
PttCodingMan wants to merge 1 commit into
Open
PttCodingMan wants to merge 1 commit into
PttCodingMan wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
這個 PR 的目的 / Purpose of this PR
兩處拼字錯誤,會讓使用者照文件或腳本操作時失敗:
scripts/start.sh(實際檔案為.cc/scripts/start.sh,scripts是指向.cc/scripts的 symlink)執行python -m openbbs_middelware.main,模組名稱拼錯(middelware),會出現No module named openbbs_middelware。改成openbbs_middleware。README.md的 Develop 章節寫./scripts/clone_projet.sh,但實際檔案是scripts/clone_project.sh。Two typos that make the documented/scripted steps fail:
scripts/start.sh(actually.cc/scripts/start.sh;scriptsis a symlink to.cc/scripts) runspython -m openbbs_middelware.main, a misspelled module name, which fails withNo module named openbbs_middelware. Changed toopenbbs_middleware.README.mdsays./scripts/clone_projet.sh, but the file isscripts/clone_project.sh.驗證 / Verification
grep -rn "middelware\|clone_projet" . --exclude-dir=.git:修正後無結果ls scripts/clone_project.sh:檔案存在bash -n scripts/start.sh:語法正確未實際啟動伺服器(
start.sh另需production.ini與 MongoDB)。grep -rn "middelware\|clone_projet" . --exclude-dir=.git: no matches after the fix.ls scripts/clone_project.sh: the file exists.bash -n scripts/start.sh: syntax OK.The server was not started (
start.shalso needs aproduction.iniand MongoDB).相關的 issue / Related Issues
無 / None