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
- Create an
app-config.local.yaml
file in the project's root directory and provide the following configurations:
database: client: pg connection: host: ${POSTGRES_HOST} port: ${POSTGRES_PORT} user: ${POSTGRES_USER} password: ${POSTGRES_PASSWORD}
- Alternativley, Postgres can be configured
To run the project, use the following at the project's root directory
$ yarn install
$ yarn dev
Note: The dockerfile is based on the Janus showcase project
See the gitops repo.
See the Backstage.io documentation