Starting the application
Starting and accessing the application
After expanding and compiling our application code, we are now ready to launch the complete application 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 application, 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-project-eu-rent-1 Recreated
Container eu-rent-project-eu-rent-1 Starting
Container eu-rent-project-eu-rent-1 Started
This script executes the generated Docker configurations, spinning up all necessary services (webserver, application server, and PostgreSQL database) that we configured earlier.
Step 2: Login and access
Once the services have successfully started, the application should be available in your web browser.
- Application URL:
http://localhost:8080/euRent
To log in, retrieve the generated admin credentials from the local file system:
- Credentials File Location:
.../workspace/euRent/project/eu-rent/.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 System application 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.