Small wins. Big progress.
-
Clone the repository
-
Install asdf and plugins
asdf plugin add nodejs
asdf plugin add yarn
asdf plugin add postgres
- Run
asdf
install
asdf install
- Set up the environment variables:
- Copy the
.env.example
file to.env
:
cp .env.example .env
- Open the
.env
file and fill in the necessary environment variables, including your PostgreSQL database URL
- Set up Prisma and the database:
- Generate Prisma client:
yarn prisma generate
- Run migrations and seed initial data:
yarn prisma migrate dev
These commands will set up your database schema, apply all existing migrations, and populate the database with seed data.
- Install dependencies and start the development server
yarn
yarn dev