Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.44 KB

README.md

File metadata and controls

46 lines (30 loc) · 1.44 KB

codecaptain.ai

A dev advisor to ask about your code and project

Development

You can start developing on this project by using Gitpod.

Or you can run it locally. You will need to have

You need an OpenAI API key to run the project. You can get one by signing up at OpenAI.

And you need a Github OAuth app to run the project. You can create one at Github Developer Settings.

Enter the OpenAI API key and Github OAuth app credentials in the .env file. You can use the .env.sample file as a template.

Start the project by running the following commands:

# start vectorstore
docker-compose up -d

# install dependencies and set up the database
pnpm install
pnpm db:up

# start the server
pnpm start

Migrations

  • To generate new migrations run: pnpm db:generate
  • To migrate the database and seed it run: pnpm db:up
  • To open the database explorer run: pnpm db:explorer

Appreciations