mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-06 08:18:39 +00:00
* Add database schema for audit logs * update audit log code to read from the DB rather than mocks * use UUID not text for id * backend endpoint for writing audit logs * add stubs for provider whitelist update * wip on sending audit logs * remove oldValue field * remove references to oldValue * more * change toast * move querying to the backend * fix fetch * base URL * use a server-side function rather than endpoint for audit log creation * remove old_value * remove route for querying audit logs * don't take over date parsing * simplify, review feedback |
||
|---|---|---|
| .docker/scripts/postgres | ||
| .github/workflows | ||
| .husky | ||
| .storybook | ||
| .vscode | ||
| public | ||
| scripts | ||
| src | ||
| .env | ||
| .env.development | ||
| .env.test | ||
| .gitignore | ||
| .prettierrc.json | ||
| .tool-versions | ||
| codecov.yml | ||
| components.json | ||
| docker-compose.yml | ||
| drizzle.config.ts | ||
| eslint.config.mjs | ||
| next-env.d.ts | ||
| next.config.ts | ||
| package.json | ||
| playwright.config.ts | ||
| pnpm-lock.yaml | ||
| postcss.config.mjs | ||
| README.md | ||
| tsconfig.json | ||
| vitest-setup.ts | ||
| vitest.config.mts | ||
Roo Code Cloud
Run Locally
Configure Database
Install Docker Desktop for your platform.
Once installed, you can pull down a Postgres Docker image and run it:
docker compose up
Postgres will be running locally on port 5432 username postgres and password password.
Install Packages
First install pnpm using these instructions. If you're on MacOS the easiest option is to use Homebrew:
brew install pnpm
You can now install the required packages with:
pnpm install
Make sure your database is migrated:
pnpm db:migrate
If everything is working as expected you should be able to run any of the following without errors:
pnpm lint
pnpm check-types
pnpm test
Start Development Server
Copy .env.local.sample to .env.local and fill in the required secrets.
You can now start the Next.js app and Spotlight with:
pnpm dev
Your server will be running at localhost:3000