Set up a development environment
หมายเหตุ: บทความนี้ยังเป็นภาษาอังกฤษ เนื่องจากคำแปลภาษาไทยกำลังอยู่ระหว่างจัดทำ
Prerequisites
หัวข้อที่มีชื่อว่า “Prerequisites”Use Node.js 24.18.0 and pnpm 11.12.0. The repository also provides a portable Windows runtime in .tools after running RunApp.cmd.
Procedure
หัวข้อที่มีชื่อว่า “Procedure”- Clone the repository and run
pnpm install. - Run
pnpm devfor the API on port 3399 and Vite on port 5199. - On a new database, copy the one-time setup code from the API server output and complete Administrator setup in the browser. Use a password of at least 12 characters.
- If the code expires after 15 minutes or ten failed attempts, restart the API server and use the new code.
- Run
pnpm typecheck,pnpm test, andpnpm buildbefore proposing changes.
Development credentials are for local databases only.