mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-05 08:10:14 +00:00
55 lines
1.1 KiB
Markdown
55 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
|
|
|
|
Copy `.env.local.sample` to `.env.local` and fill in the required secrets.
|
|
|
|
You can now start the Next.js app and [Spotlight](https://spotlightjs.com/) with:
|
|
|
|
```sh
|
|
pnpm dev
|
|
```
|
|
|
|
Your server will be running at [localhost:3000](http://localhost:3000)
|