- Clone the repository
- (Optional) Append
./git-hooks/post-merge
to .git/hooks/post-merge - Configure environment variables: Duplicate app/.env.example to app/.env and fill in the blanks.
- Start up the database:
docker compose up
- Open a second terminal and change to
app
directory:cd app
- Install required Node.js version:
nvm install
- Install dependencies:
npm ci
- Update the database's schema:
npx prisma migrate dev
- Run the app:
npm run dev
- Access the app at: http://localhost:3000
- Install the Dev Containers extension for VSCode
Dev Containers: Reopen In Container
and wait for it to finish- Go to your VSCode extensions and enable the recommended ones
- (Optional) Install your personal VSCode extensions in Dev Container
- You'll need to do this after every rebuild of the container
- Update the database's schema:
npx prisma migrate dev
- Run the app
- Terminal:
npm run dev
- VSCode debugger:
F5
- Terminal:
- Access the app at: http://localhost:3000