Skip to main content

Local database and test setup

Please see this loom on how to get started local testing.

In short from gf-sources:

source set-env-local.sh
cd dev/docker/goodfitDB
./rebuild-db.sh

Then you will have a local DB you can run tests against.

To migrate again any new migrations:

cd dev/schemaMigrations
pnpm migrate up

To run tests:

pnpm test