-
Notifications
You must be signed in to change notification settings - Fork 21
webclient
Stephen Laws edited this page Nov 20, 2020
·
10 revisions
You will need your IDIR to download the Client Registries Auth zip package.
Unzip to a secure location on your local machine.
Create a local appsettings file:
cd $GATEWAYHOME/Apps/Medication/src/
code appsettings.local.json
Add the following text:
{
"ContentSecurityPolicy": {
"connect-src": "https://spt.apps.gov.bc.ca/com.snowplowanalytics.snowplow/tp2 https://dev.oidc.gov.bc.ca/ http://localhost:*/ http://[YOUR IP]]:*/ ws://[YOUR IP]]:*/",
"frame-src": "https://dev.oidc.gov.bc.ca/"
},
"PatientService": {
"ClientRegistry":{
"ClientCertificate": {
"Path": "[YOUR PATH]/HGWAY_HI1.pfx",
"Password": "[Ask team for password]"
}
}
}
}
Add the following text, changing [YOUR IP] to your actual IP.
{
}
Save the file.
Open a new terminal/command Window to run the .Net application
cd $GATEWAYHOME/Apps/WebClient/src/
dotnet run
Open another terminal Window to run the VUE Cli
cd $GATEWAYHOME/Apps/WebClient/src/
npm run serve
- Select the WebClient project
- Say Yes or Accept any popups regarding adding assets for debugging
- Select the Solution and click Enter which should create a .vscode/launch.json
- Click F5 or Run/Start Debugging
- Right Click on the solution and select Properties
- Select Multiple startup projects
- Set WebClient action to Start
- Click Ok
- Click F5 or Debug/Start Debugging
- Right Click on the solution and select set startup project
- Click on Create Run Configuration
- Ensure that the WebClient solution item is checked
- Click Ok
- Select Run Menu then Start Debugging
- Open a Chrome session to http://localhost:5000
- Authenticate with Virtual BC Services Card
- You will see a banner Error.
- You should be able to Add/Edit/Delete Notes.
-
Developer Standard and Processes
-
Workstation Setup
-
IDE Configuration
-
Application Config
-
RedHat SSO Authorization Server
-
Known Issues