Find a file
2025-06-26 15:37:12 -07:00
.docker Encrypt and store secret ENV vars in the repo with dotenvx (#114) 2025-06-26 10:54:39 -07:00
.github Encrypt and store secret ENV vars in the repo with dotenvx (#114) 2025-06-26 10:54:39 -07:00
.husky Monorepo + (disabled) agent authentication mechanism (#106) 2025-06-19 12:19:50 -07:00
.roo/rules First shot at a rules file (#119) 2025-06-23 11:11:22 -04:00
.vscode Encrypt and store secret ENV vars in the repo with dotenvx (#114) 2025-06-26 10:54:39 -07:00
apps Prevent POST /usage 404 flooding on sign out (#144) 2025-06-26 15:04:19 -07:00
packages Default NODE_ENV to development (#139) 2025-06-26 13:24:09 -07:00
scripts Encrypt and store secret ENV vars in the repo with dotenvx (#114) 2025-06-26 10:54:39 -07:00
.dockerignore Encrypt and store secret ENV vars in the repo with dotenvx (#114) 2025-06-26 10:54:39 -07:00
.env.development Encrypt and store secret ENV vars in the repo with dotenvx (#114) 2025-06-26 10:54:39 -07:00
.env.preview Encrypt and store secret ENV vars in the repo with dotenvx (#114) 2025-06-26 10:54:39 -07:00
.env.production Encrypt and store secret ENV vars in the repo with dotenvx (#114) 2025-06-26 10:54:39 -07:00
.env.test Encrypt and store secret ENV vars in the repo with dotenvx (#114) 2025-06-26 10:54:39 -07:00
.gitignore Encrypt and store secret ENV vars in the repo with dotenvx (#114) 2025-06-26 10:54:39 -07:00
.prettierrc.json Add roomote to the monorepo (#109) 2025-06-20 09:41:51 -07:00
.roomodes Better responsive design (#62) 2025-05-31 22:20:33 -04:00
.tool-versions Fix token summing in ClickHouse queries (#105) 2025-06-18 11:36:58 -07:00
docker-compose.yml Encrypt and store secret ENV vars in the repo with dotenvx (#114) 2025-06-26 10:54:39 -07:00
fly.roomote-api.toml Encrypt and store secret ENV vars in the repo with dotenvx (#114) 2025-06-26 10:54:39 -07:00
fly.roomote-controller.toml Encrypt and store secret ENV vars in the repo with dotenvx (#114) 2025-06-26 10:54:39 -07:00
fly.roomote-dashboard.toml Encrypt and store secret ENV vars in the repo with dotenvx (#114) 2025-06-26 10:54:39 -07:00
package.json Encrypt and store secret ENV vars in the repo with dotenvx (#114) 2025-06-26 10:54:39 -07:00
pnpm-lock.yaml Encrypt and store secret ENV vars in the repo with dotenvx (#114) 2025-06-26 10:54:39 -07:00
pnpm-workspace.yaml Monorepo + (disabled) agent authentication mechanism (#106) 2025-06-19 12:19:50 -07:00
README.md Update README.md (#145) 2025-06-26 15:37:12 -07:00
turbo.json Encrypt and store secret ENV vars in the repo with dotenvx (#114) 2025-06-26 10:54:39 -07:00

Roo Code Cloud Monorepo

This guide assumes:

  • Your platform is MacOS.
  • You have Docker Desktop installed.
  • You have node.js & pnpm installed via nvm or asdf.

Encrypted Env

The various apps within the monorepo rely on the encrypted variables in .env.*. You need a set of private keys to decrypt these files. Ask in Slack for these keys and place them in a file called .env.keys at the root of the repository. It will look something like:

DOTENV_PRIVATE_KEY_TEST=...
DOTENV_PRIVATE_KEY_DEVELOPMENT=...
DOTENV_PRIVATE_KEY_PREVIEW=...
DOTENV_PRIVATE_KEY_PRODUCTION=...

You can verify that decryption is working by running the following:

pnpm install
pnpm --filter @roo-code-cloud/env test

Postgres, ClickHouse, Redis

Next you should start the Docker database containers by running:

pnpm db:up

This will automatically sync your postgres schema to the latest version. If you need to reset your database at any point, you can run:

pnpm db:reset

We don't currently have ClickHouse migrations automated, so if you encounter any errors that look related to ClickHouse schema drift you'll have to manually apply the missing migrations, or completely reset the database with:

pnpm db:down
rm -rf .docker/data/clickhouse
pnpm db:up

To connect to these services via the Docker hostnames specified in docker-compose.yml you should update your /etc/hosts file to alias postgres, clickhouse and redis:

# /etc/hosts

127.0.0.1       localhost
255.255.255.255 broadcasthost
::1             localhost

# Roo Code Cloud
127.0.0.1 postgres redis clickhouse

Web

You should now be able to start the Roo Code Cloud web app:

pnpm --filter @roo-code-cloud/web dev

The app will be available at localhost:3000.

Roomote

Documentation for running the various roomote services is still a WIP.