GCPE’s primary role is to inform the public about government programs, services, policies, and priorities through traditional communication practices and, increasingly, through direct engagement and online services.
One of GCPE’s featured services to clients is Today’s News Online Media Monitoring. Through this application, GCPE tracks breaking news stories in British Columbia, Canada, and around the world that impact our province.
The TNO application provides a variety of key services to senior executives throughout government including near-live issue alerts, morning and evening summary reports, as well as in-depth media analysis of key government initiatives and issues.
The application also provides government staff with direct access to all events held in the Legislature Press Theatre including Dr. Bonnie Henry's weekly press conferences on the COVID-19 outbreak.
Today's News Online (TNO) is a news aggregation system that takes in news sources of varying types and provides a single location for clients to access the data.
This repository is a mono-repo containing all relevant documentation, code, and infrastructure that is required to setup and run the TNO solution.
- Begin Development : Get started and help contribute to the project
- Wiki : Documentation for this repository
- Openshift : Infrastructure and DevOps
- .NET tests : Automated tests and coverage
- Playwright : Browser and API end-to-end tests
- Postman : Import the API collection and request an access token
Application code and developer tools live in src/ (api, charts-api, app, libs, services,
tests, playwright-automation, tools). Supporting infrastructure lives directly in dependencies/ (the former
contents of db/, auth/, and network/). Deployment manifests remain in openshift/.
After pulling the folder restructure, run from the repository root:
bash do move
bash do setupbash do move requires Python 3 and moves ignored .env, .env.*, and *.env files
from the old directories to their matching new locations, preserving contents and
permissions. API environments move from either api/net/ or src/api/net/ to
src/api/; charts API environments move from either api/node/ or src/api/node/
to src/charts-api/. Library and service environments move from libs/net/ or
src/libs/net/ to src/libs/, and from services/net/ or src/services/net/ to
src/services/. The obsolete src/libs/npm/ package tree has been removed and its
environments are not migrated. Kafka UI environments move directly to dependencies/kafka-ui/, including
from the intermediate dependencies/kafka/kafka-ui/ location. Obsolete Kowl environments
are left at their old locations and are not used or migrated. It leaves the root .env in place and updates its DB_CONTEXT and
ORACLE_DB_CONTEXT overrides when they refer to the old db/ paths. It skips package
and build directories. If a destination contains different settings, it stops before
moving any files: resolve that conflict manually and rerun. Identical copies are left
in place. Repeated runs are safe. bash do setup also runs this migration before creating
missing environment files.
Run frontend commands from src/app (nvm use, npm ci, npm run dev). The root
TNO.sln, Bash commands, and Compose configuration use the new paths. Recreate local
containers with bash do docker up to apply the updated bind mounts and environment paths.
Local development uses bash do docker ... or bash do podman ...; cluster operations
use bash do oc ... from this directory. Run bash do <group> help for all commands.
See development setup for Linux, macOS, and Windows prerequisites.
Database tools run locally with bash do db-* or in an SDK container with
bash do docker db-* / bash do podman db-*. See the full command reference.