This repository makes it easy to get up and running with a local copy of VC Assist.
Note
It is NOT recommended to try and make this a starting point for your understanding of the VC Assist codebase, instead take your time going through an individual repo, running/testing it individually, and then come back to this repository.
- Node.js
- Golang
pnpm add -g mprocs
- An email account and app password provided to
backend/cmd/auth/config.json5
.
go run ./cmd/setup
mprocs -c ./mprocs/dev_vcs.yaml
# when you want to update
go run ./cmd/update
go run ./cmd/setup
- sets up dependencies/prereqs for all the repositories.go run ./cmd/update
- pulls and updates submodules for all repositories, also rerunspnpm install
in each node.js repo.mprocs -c ./mprocs/dev_vcs.yaml
- runs a development environment.
Submodules come with a bunch of footguns that can be mostly avoided by treating them as immutable. Therefore we clone each repo by itself so you can make changes to the repo itself instead of its instance as a submodule in another repo.
This doesn't feel the greatest (especially when you're making many changes across many repos and you have to pollute git history with a bunch of potentially broken commits), but it is a lot better than having to deal with submodule footguns or trying to understand a gigantic monorepo all at once.