pnpm i
to install dependencies.- Create an
.env.local
file from the.env.template
. pnpm run db:run
to spin up the MySQL server.- While the db is running, run
pnpm run db:seed
to populate the DB. pnpm run dev
to run the app.
- Create an
.env.test.local
file from the.env.template
. - Run e2e tests with
pnpm run test:e2e
.
- Tried running Lighthouse. Output files are located in
profiling/lighthouse
. - Setup
@next/bundle-analyzer
(based on this docs) and run it withpnpm run build:analyze
. - Recorded a heap profile using
node --heap-prof node_modules/next/dist/bin/next build
to look for memory issues. This generated a.heapprofile
and is inspected by loading the file using Chome Dev Tools on the memory tab.
- Run
pnpm run test:bdd
.