> ## Documentation Index
> Fetch the complete documentation index at: https://ratemyrentalco.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Contributor quickstart

> Get the RateMyRental docs and web app running locally.

Use this guide when you contribute to docs or the web app. Architecture decisions live under [Architecture](https://ratemyrentalco.com/docs/architecture/overview.md). Harbor form patterns live under [Forms and error recovery](https://ratemyrentalco.com/docs/harbor/forms-and-error-recovery.md).

## Prerequisites

* Node.js 20+
* A GitHub account with access to `pebl-studio/ratemyrental-docs` and `pebl-studio/ratemyrental-web`
* The [Mintlify CLI](https://www.npmjs.com/package/mint) for docs preview (`npm i -g mint` or `npx mint`)
* Supabase project credentials for the web app (see `.env.example` in `ratemyrental-web`)

## Clone the repos

RateMyRental uses two sibling repositories:

| Repo | Purpose |
| - | - |
| [pebl-studio/ratemyrental-docs](https://github.com/pebl-studio/ratemyrental-docs) | Mintlify docs (this site) |
| [pebl-studio/ratemyrental-web](https://github.com/pebl-studio/ratemyrental-web) | Next.js web application (`develop` working branch) |

```bash theme={null}
git clone git@github.com:pebl-studio/ratemyrental-docs.git
git clone git@github.com:pebl-studio/ratemyrental-web.git
cd ratemyrental-web && git checkout develop
```

## Run the docs

From the docs repo root (where `docs.json` lives):

```bash theme={null}
mint dev
```

Open [http://localhost:3000](http://localhost:3000).

## Run the web app

From the web repo root:

```bash theme={null}
cp .env.example .env.local
# Fill in Supabase and other public env values
npm install
npm run dev
```

Open [http://localhost:3000](http://localhost:3000) for the app when docs are not already using that port. If both run at once, start the app on another port:

```bash theme={null}
npm run dev -- --port 3001
```

## What to read next

> [card] [Repos layout](https://ratemyrentalco.com/docs/architecture/repos.md)
>
> What belongs in docs vs the web app.

> [card] [Roles and dashboards](https://ratemyrentalco.com/docs/architecture/roles-and-dashboards.md)
>
> How renter and property owner roles share one account.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.