THIS PROJECT IS DEPRECATED, ITS FUNCTIONALITY HAS MOVED TO partiguiden
Prerequisites:
- Node version >= 18
- Docker
corepack prepare
pnpm i
Generate self-signed certificate for using the https proxy when running on localhost:
mkdir .cert
openssl req -x509 -out .cert/localhost.crt -keyout .cert/localhost.key \
-days 365 \
-newkey rsa:2048 -nodes -sha256 \
-subj '/CN=localhost' -extensions EXT -config <( \
printf "[dn]\nCN=localhost\n[req]\ndistinguished_name = dn\n[EXT]\nsubjectAltName=DNS:localhost\nkeyUsage=digitalSignature\nextendedKeyUsage=serverAuth")
vercel env pull
pnpm dev
pnpm prisma:migrate
pnpm dev:seed