Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions 11.16.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Unknown command: "notice"

To see a list of supported npm commands, run:
npm help
40 changes: 39 additions & 1 deletion api/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ def bootstrap():
sb_id=smartboard_call_ticket.sb_id,
exams_enabled_ind=1,
timezone_id=timezone_one.timezone_id,
appointments_enabled_ind=1,
appointments_enabled_ind=0,
latitude=48.458359,
longitude=-123.377106,
office_appointment_message='Test Message',
Expand Down Expand Up @@ -773,7 +773,45 @@ def bootstrap():
office_100.services.append(service_ptax4)
office_100.services.append(service_ptax5)
office_100.services.append(service_dlkt)

# Seed quick and back-office service lists used by the public locations directory.
office_test.quick_list.extend([
service_msp1,
service_msp2,
service_msp6,
service_ptax1,
service_dlkt,
])
office_test.back_office_list.extend([
service_bo1,
service_bo2,
])

office_victoria.quick_list.extend([
service_msp1,
service_msp2,
service_msp6,
service_dlkt,
])
office_victoria.back_office_list.extend([
service_bo1,
service_bo2,
])

office_100.quick_list.extend([
service_ptax1,
service_ptax2,
service_ptax4,
service_ptax5,
service_dlkt,
])
office_100.back_office_list.extend([
service_bo1,
service_bo2,
])

db.session.commit()
theq.Office.clear_offices_cache()

# -- Booking / Rooms -------------------------------------------
logging.info('--> Booking: Rooms')
Expand Down
4 changes: 4 additions & 0 deletions appointment-booking/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
dist
.env*
*.local
2 changes: 1 addition & 1 deletion appointment-booking/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Stage 1: Builder
FROM node:22-alpine AS builder
FROM node:24-alpine AS builder

WORKDIR /app

Expand Down
3 changes: 2 additions & 1 deletion appointment-booking/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,13 @@ docker run -p 5173:8080 appointment-booking

## Runtime Config

The app fetches `/config/configuration.json` on startup to get its configuration. The default file is at [`public/config/configuration.json`](./public/config/configuration.json) and is served as a static file by nginx.
The app fetches `/config/runtime-config.json` on startup to get its configuration. The default file is at [`public/config/runtime-config.json`](./public/config/runtime-config.json) and is served as a static file by nginx.

In OpenShift, a ConfigMap mounts over this file to provide environment-specific values without rebuilding the image.

```json
{
"apiBaseUrl": "http://localhost:5000/api/v1",
"apiBaseUrl": "http://localhost:5000/api/v1",
"requestTimeoutMs": 10000
}
Expand Down
4 changes: 3 additions & 1 deletion appointment-booking/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/png" href="/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>appointment-booking</title>
<title>Service BC Locations | Government of British Columbia</title>
<meta name="description" content="Find a Service BC location near you. View hours of operation and services offered at every office across British Columbia." />
<meta name="robots" content="index, follow" />
</head>
<body>
<div id="app"></div>
Expand Down
Loading
Loading