Skip to content

rockfactory/civ7-mods-hub

Repository files navigation

CivMods

Unofficial Civ7 Mods Manager

CivMods

Develop

Download and Start Pocketbase v0.25.9 in ./apps/backend:

./apps/backend/pocketbase.exe serve

Tip

Use --dev flag to debug SQL statements and 400 errors

Start the server

npm run -w @civmods/api dev

Start the Desktop App in ./apps/desktop:

npm run -w @civmods/desktop tauri dev

To update PocketBase Typescript types:

npx pocketbase-typegen --db ./apps/backend/pb_data/data.db --out ./packages/parser/src/pocketbase-types.ts

Local Import

To 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

Contributors

About

Unofficial Civ7 Mods Manager

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •