Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
erenfn authored Jan 17, 2025
1 parent 5c31027 commit cd7cca1
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,23 @@ POSTGRES_DB - Test database name (The same as TEST_DB_NAME)

For running tests in windows installing `win-node-env` module is recommended

## Showing guides on the screen

After setting up the project, copy and paste the script that can be found in the Code tab of the Settings. Modify Api Base URL to point out to the url of tour backend server. The code snippet can also be found here:

`
window.bwApiBaseUrl = 'https://guidefox-demo.bluewavelabs.ca/api/';
window.bwAgentBaseUrl = 'https://cdn.jsdelivr.net/gh/bluewave-labs/bluewave-onboarding@agent-1.0.0/jsAgent/';

var s=document.createElement("script");
s.type="text/javascript";
s.async=false;
s.onerror=()=>{console.log("onboard not loaded");};
s.src = window.bwAgentBaseUrl + '/main.js';
(document.getElementsByTagName("head")[0] || document.getElementsByTagName("body")[0]).appendChild(s);
`

We are working on a browser extention to move this code there to improve the user experience.

## Contributing

Expand Down

0 comments on commit cd7cca1

Please sign in to comment.