1
0
mirror of https://github.com/ZeroCatDev/ClassworksKV.git synced 2025-07-01 20:09:23 +00:00

6 Commits

Author SHA1 Message Date
SunWuyuan
0b4fe90c94
Add database migration function to streamline setup and build processes; replace direct migration calls with a reusable function for better code organization and error handling. 2025-05-25 15:35:36 +08:00
SunWuyuan
f703bb2a8b
Refactor database setup in classworks.js to implement a recursive copy function for configuration files and directories, enhancing the copying process and improving clarity in console messages. 2025-05-24 20:50:07 +08:00
SunWuyuan
09875b35c1
Update .gitignore to exclude Prisma database data directory and modify database setup in classworks.js to use prisma migrate deploy for migrations, enhancing deployment process. 2025-05-24 20:42:15 +08:00
SunWuyuan
93b9b1c6f5
Enhance database setup in classworks.js to include automatic migration execution after setting the DATABASE_URL. Update Dockerfile to use Node.js version 22-alpine for improved compatibility. Modify docker-compose.yml to change volume mapping for data storage. 2025-05-24 20:00:17 +08:00
SunWuyuan
f580ffe8fd
Update database setup in classworks.js to default to SQLite, enhance error messages with Chinese translations, and improve comments for clarity. Refactor main function to streamline execution flow based on command line arguments. 2025-05-24 17:52:44 +08:00
SunWuyuan
f3c24c24b8
Refactor Docker setup to consolidate services into a single app container using SQLite. Update Dockerfile to streamline dependency installation and set entrypoint for the application. 2025-05-24 17:50:51 +08:00