This is the developer portal for the Province of British Columbia built using Backstage.
- Node long-term-support version (i.e. lts/hydrogen)
- For development purposes, the in memory SQLite database is sufficient (it is already configured)
- Alternativley, Postgres can be configured
- Install Postgres locally or via docker
- Alternativley, Postgres can be configured
- Create an
app-config.local.yaml
file based off of the app-config.local.template.yaml file.
To run the project, use the following at the project's root directory
$ yarn install
$ yarn start
End to end tests are in the packages/app/e2e-tests directory.
To run locally:
- start a local instance
yarn test:e2e
To run against a dev instance:
- Set the
PLAYWRIGHT_URL
to your dev instance when running the test PLAYWRIGHT_URL=https://dev.example.org yarn test:e2e
Note: The dockerfile is based on the Janus showcase project
See the gitops repo.
See the Backstage.io documentation