- pnpm
- PostgreSQL (see below)
cp sample.env .env
pnpm install
If using Docker:
docker run --name tech-event-calendar-db --env-file .env -p 5432:5432 -d postgres
If not using Docker, you need to create a PostgreSQL database named tech-event-calendar
and configure it as specified in sample.env
. Once that exists, put the connection string in .env
.
To migrate the database:
pnpm prisma migrate deploy
pnpm run dev