You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 3
Next »
Page about component & deployment databases
Component Database
Resources
Backend API/CLI to the MongoDB component database: eed-web-application/build-environment-builder (github.com)
API Documentation: Swagger UI (stanford.edu)
Other Notes
- cbs - core build system
- docker-compose.yml file is used to create the database locally (for development purposes). Where you would use a 'docker compose up' command to execute
README.md (Since there isn't one on the repo)
How to run:
Disclaimer: I've only tried this on vscode, since the repo already made support to create the development environment for vscode using (devcontainer.json)
- Open up the repo in vscode, and you will be prompted to open up the devcontainer.
- Click yes, give it a few minutes to setup, it will run docker-compose.yml which will setup the mongodb locally
- Now that your development environment is setup, open up a terminal in vscode. Which should open you in the container, at folder '/workspace'
- Do a 'make build'
At the moment there is errors- I solved the vcs status error by
- do a git status
- follow the command it outputs
- Got rid of the error:
- I solved the malformed import path "-o": leading dash by
- Edit line 8 in makefile
Original: go build ./... -o cbs
New: go build -o cbs ./...
- Then it should be able to run
Example
Deployment Database
TBD