Unofficial Civ7 Mods Manager
Download and Start Pocketbase v0.25.9 in ./apps/backend:
./apps/backend/pocketbase.exe serveTip
Use --dev flag to debug SQL statements and 400 errors
Start the server
npm run -w @civmods/api devStart the Desktop App in ./apps/desktop:
npm run -w @civmods/desktop tauri devTo update PocketBase Typescript types:
npx pocketbase-typegen --db ./apps/backend/pb_data/data.db --out ./packages/parser/src/pocketbase-types.tsTo update local pocketbase and test the import script. Make sure to configure
the POCKETBASE_TOKEN variable in the .env file and to set the parameters in the
script.
npx tsx --env-file=.env ./apps/api/src/scripts/import-fanatics-mods.ts