Starting the application
Starting and accessing the application
After expanding and compiling our applicationApplicationThe overarching model container grouping all components, domain logic, and configurations for an enterprise solution. code, we are now ready to launch the complete applicationApplicationThe overarching model container grouping all components, domain logic, and configurations for an enterprise solution. stack.
During the project initialization, we generated some utility scripts that will simplify the startup. For this tutorial, a script is available that will start the database and applicationApplicationThe overarching model container grouping all components, domain logic, and configurations for an enterprise solution., connect them to the same network and ensure that the webserver is available on a certain port, all using Docker behind the scenes.
Step 1: Start services
- Navigate to the Build menu on the left side.
- Select Scripts.
- Execute the start_default_services script.
We expect the console output to end with the below logs, indicating a successful start of our docker service.
Container eu-rent-1 Recreated
Container eu-rent-1 Starting
Container eu-rent-1 Started
This script executes the generated Docker configurations, spinning up all necessary services (webserver, applicationApplicationThe overarching model container grouping all components, domain logic, and configurations for an enterprise solution. server, and PostgreSQL database) that we configured earlier.
Step 2: Login and access
Once the services have successfully started, the applicationApplicationThe overarching model container grouping all components, domain logic, and configurations for an enterprise solution. should be available in your web browser.
- ApplicationApplicationThe overarching model container grouping all components, domain logic, and configurations for an enterprise solution. URL:
http://localhost:8080/euRent
To log in, retrieve the generated admin credentials from the local file systemSystemA set of interconnected components that work together to achieve a specific purpose or function.:
- Credentials File Location:
.../workspace/euRent/.credentials
Use the admin username and the automatically generated password found in this file (e.g., 9Om2KRRhs$X)RXjWCXi3) to
log in.
Your modeled Normalized SystemSystemA set of interconnected components that work together to achieve a specific purpose or function. applicationApplicationThe overarching model container grouping all components, domain logic, and configurations for an enterprise solution. is now running. After logging in, you can navigate the top menu and use the automatically generated screens to Create new Car, Person, and Booking records, seeing the direct result of your modeling work.