Create file frontend/.env with the following content:
cp .env.example .env
DATABASE_URL=postgresql://nymdev:password@localhost:5432/nym
pnpm -F db run start && pnpm dev
pnpm db:start
Make a .env.staging
file with DATABASE_URL=<staging_url>
pnpm dev:staging
This command is included in db:start
Note: prisma migrate dev
includes the generate command
.
pnpm db:migrate