The generated Timesheet Application fulfills around 75% of the business requirements of the Timesheet Application. We need to add source code to the generated application in order to fulfill all the requirements.
Once you download the generated application, unzip it (or clone from your GitHub repository) into a folder/directory. Make sure that you have Docker Desktop installed for your OS. After this, you can run the application using the following command from the unzipped root directory:
Windows - PowerShell.exe -ExecutionPolicy Bypass -File install.ps1
Linux / Mac - ./install.sh
The above command will setup the necessary docker containers for the generated application to run. If you have not chosen reports as an add-on, three docker containers are setup - the UI, API, and DB containers. If you have chosen the reports add-on, an addition fourth container is setup for reports.
Once the docker containers are running, you can run the application as follows:
- From your web browser go to: https://127.0.0.1:5555
The browser will complain about the self generated SSL certificate. You should instruct the browser to proceed.
From your web browser, go to: https://127.0.0.1:4700 - this will bring up the login screen.
Login with the username "admin" and the password "secret".
Updated about 1 year ago