This is our group project which looks into producing a virtual scrolls library for the SOFT2412 unit. To utilise the app please see code below.
To run the web application, follow the following instructions:
- Clone the repository to a directory of your preference
- Head to the repository installation and run the command
.\gradlew.bat bootRunorgradle run. Wait a few seconds so that the local web server initialises. - Once the web server is loaded, head to http://localhost:8888/.
To run the test of the application, run the command gradle testin the terminal. Our CI/CD implementation renders a automated test reports which you can find at:
app\build\reports\jacoco\test\html\index.htmlfor jacoco report.app/build/reports/tests/test/index.htmlfor JUnit report.
You can set up ngrok to automatically by setting-up ngrok as a windows service:
- Install ngrok into your computer.
- Sign up with an account to ngrok and obtain your authetication token and a free domain.
- Open the terminal and head to your ngrok installation path
ngrok config add-authtoken <TOKEN> - Obtain the path to your ngrok configuration path with
ngrok config checkand replace it with thengrok.tamltemplate in the resource folder by introducing your auth-token and domain. - Open Window's cmd prompt with administrator settings. Then, go to your
ngrok.exeinstallation path and runngrok service install --config <path to ngrok.yml> - To start the server, run
ngrok service start. You won't need to do this again after restarting your PC.
If you have ngrok set-up, you can check its status in http://127.0.0.1:4040/status.