...
You also need to run the Proposal launchpad every time you start the proposal system. After the frontend and backend are started and a ‘warming up’ period (up to a few minutes), the app should now be up and running. To connect, sign in on http://localhost:9003, and select the link to the new proposal system. If all has gone well, it should load a similar page to: https://devproposal.facilities.rl.ac.uk/.
You may also need to run clam-antivirus
antivirus container this can be started by fba-compose up clam-antivirus
If so, congratulations! You’ve got the Proposals site running on your local machine!
...
Ensure the user-office-core is cloned into windows
'C:\Programming\user-office-core'
.Open theIn docker-compose.yml file in your local docker-ochestration repo.
In the environment variables section for
duo-backend
, ensure theDEPENDENCY_CONFIG
environment variable is set toe2e
and uncomment the section required to run e2e tests.In the yaml for
cypress-dev-auth-server
, add:ports:
- 5700:5000
Run
fba-compose -f /mnt/c/programming/docker-orchestration/docker-compose.e2e.yml up -d duo-frontend
In ‘apps\e2e\cypress.config.ts’ update the
DEV_AUTH_SERVER_URL
to'http://localhost:5700'
andbaseUrl
to'http://localhost:8081'
Replace the SDK in the frontend with the frontend in the linux environment (from
'\\wsl.localhost\Ubuntu-20.04\home\<user_name>\repos\user-office-core\apps\frontend\src\generated'
to'C:\Programming\user-office-core\apps\frontend\src\generated'
).Run
npm install
in user-office-core.Remove and restart the backend container. (
fba-compose rm duo-backend
andfba-compose -f /mnt/c/programming/docker-orchestration/docker-compose.e2e.yml up -d duo-frontend
).Make sure Cypress is installed in Windows, using
npm install cypress --save-dev
.Run
npm run cy:open
withine2e
which will prompt the Chrome window to run the tests.
...