Roo-Code/apps/web/README.md
Chris Estreich 5edb2f8bb6
Encrypt and store secret ENV vars in the repo with dotenvx (#114)
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
Co-authored-by: John Richmond <5629+jr@users.noreply.github.com>
2025-06-26 10:54:39 -07:00

59 lines
1.1 KiB
Markdown

# Roo Code Cloud
## Run Locally
### Configure Database
Install [Docker Desktop](https://docs.docker.com/desktop/) for your platform.
Once installed, you can pull down a Postgres Docker image and run it:
```sh
docker compose up
```
Postgres will be running locally on port 5432 username `postgres` and password `password`.
### Install Packages
First install [pnpm](https://pnpm.io) using [these instructions](https://pnpm.io/installation). If you're on MacOS the easiest option is to use Homebrew:
```sh
brew install pnpm
```
You can now install the required packages with:
```sh
pnpm install
```
Make sure your database is migrated:
```sh
pnpm db:migrate
```
If everything is working as expected you should be able to run any of the following without errors:
```sh
pnpm lint
pnpm check-types
pnpm test
```
### Start Development Server
Create an `.env.local` file and fill out the required secrets, including:
- `CLICKHOUSE_URL`
- `CLICKHOUSE_PASSWORD`
- `CLERK_SECRET_KEY`
You can now start the Next.js app with:
```sh
pnpm dev
```
Your server will be running at [localhost:3000](http://localhost:3000)