The prerequisites are:
- Node and NPM (see
engines
field inpackage.json
for compatible versions) - Docker Compose
If you're using dev containers, see .devcontainer/README.md
. Otherwise:
- Fork the repository to your account
- Un-tick "Copy the
main
branch only" to get all the branches in your fork
- Un-tick "Copy the
- Clone your fork
- Run
npm ci
to install the dependencies - Copy
e2e/.env
to.env
and update as needed - Run
npm run services:start
to start the services - Run
npm run migration -- up
to migrate the database - Run
npm run ship
to ensure that the tests pass - Start the app with
npm run dev
(dev mode) ornpm run serve
(prod mode) and visit:- UI: http://localhost:4201
- API docs: http://localhost:4201/docs
From there see .github/CONTRIBUTING.md
for details on recommended workflows.
- 4201: client application (Webpack in dev mode, Express in production mode)
- 4202: Express server (dev mode only)
- 4211: Postgres
- 4212: GitStub (mock GitHub OAuth/API)