514 B
514 B
Development
Follow the steps to run it locally.
- Copy
.env.exampleto.env - Run
postgreslocally, the easiest way on mac isbrew install postgresql, you can also use docker
docker run -d \
--name mypostgres \
-e POSTGRES_PASSWORD=pass \
-e PGDATA=/var/lib/postgresql/data/pgdata \
-v mypostgres_data:/var/lib/postgresql/data \
-p 5432:5432 \
postgres
- Install dependencies:
pnpm i - Initialize the database by running
pnpm prisma db push - Start dev server:
pnpm dev