- Extract the ZIP File:
- Extract the contents of the provided ZIP file to your desired location.
-
Navigate to the Client Folder:
- Open your terminal or command prompt.
- Use the
cd
command to navigate into theclient
directory within the extracted folder:cd client
-
Install Packages:
- Run the following command to install the necessary Node.js packages for the Angular application:
npm install
- Run the following command to install the necessary Node.js packages for the Angular application:
-
Run the Angular Application:
- Once the packages are installed, start the Angular development server using:
ng serve
- The Angular application will now be running and accessible in your web browser, at
http://localhost:4200
.
- Once the packages are installed, start the Angular development server using:
-
Navigate to the Server Folder:
- Open a new terminal or command prompt.
- Use the
cd
command to navigate to theserver
directory within the extracted folder:cd server
-
Open Server Folder in IntelliJ IDEA:
- Launch IntelliJ IDEA.
- Click on "Open" and select the
server
folder. This will import the project as a Java project.
-
Run the Server Application:
- In IntelliJ IDEA, navigate to the
src/main/java/com/example/server
directory. - Locate the
ServerApplication.java
file. - Right-click on this file and select "Run 'ServerApplication'".
- IntelliJ IDEA will automatically download any required dependencies (Maven dependencies) and start the Spring Boot application.
- In IntelliJ IDEA, navigate to the
-
Access the Backend:
- Once started, the backend application will be running on a local host and accessible through defined endpoints, at
http://localhost:8080
.
- Once started, the backend application will be running on a local host and accessible through defined endpoints, at
-
Navigate to the cli Folder:
- Open a new terminal or command prompt.
- Use the
cd
command to navigate to thecli
directory within the extracted folder:cd cli
-
Open Cli Folder in IntelliJ IDEA:
- Launch IntelliJ IDEA.
- Click on "Open" and select the
cli
folder. This will import the project as a Java project.
-
Run the Cli Application:
- In IntelliJ IDEA, navigate to the
src/main/java/org/example/
directory. - Locate the
Main.java
file. - Right-click on this file and select "Run 'Main'".
- IntelliJ IDEA will automatically download any required dependencies (Maven dependencies) and start the Cli application in the Intellij IDEA terminal.
- In IntelliJ IDEA, navigate to the
IMPORTANT NOTICE
System Startup Sequence: To ensure optimal performance and prevent unexpected behavior, it is crucial to initiate the system components in the following order:
- Frontend (GUI)
- Backend
- CLI
Starting the components in any other order may result in errors or system malfunctions. Please adhere to this sequence for correct operation.
To ensure proper functionality, please initiate the system components in the following order: CLI, Backend, Frontend.
- Begin by navigating to the command-line interface (CLI).
- The CLI will prompt you to enter the required configuration parameters. Please provide the necessary values to proceed.
- After completing the CLI configuration, you can start the system in one of two ways:
- GUI: Use the "Start" button within the frontend graphical user interface (GUI).
- CLI: Execute the command
start
within the CLI terminal.
- To halt the system, you have two options:
- GUI: Use the "Stop" button within the frontend GUI.
- CLI: Execute the command
stop
within the CLI terminal.
- To restore the system to its initial state, utilize the "Reset" button available within the frontend GUI.
- To modify the system's configuration parameters:
- Navigate to the configuration form within the frontend GUI.
- Update the desired parameters.
- Submit the form to apply the changes. This will update the system with the new configuration.