Skip to content

Kosmonos/PFE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ConfigAutomation

ConfigAutomation is a web application that automates configuration management for software projects. It uses Angular and Spring Boot to provide a user-friendly interface for managing configurations.

Prerequisites

To run ConfigAutomation application, you need the following software installed on your machine (Ubuntu 22.04.2 LTS):

  • Ansible (core 2.15.2)
  • Npm (version 8.19.4)
  • Node (version 16.20.0)
  • Angular CLI (version 15.0.2)
  • Java Development Kit (JDK) (version 17)
  • Maven (version 3.6.3)
  • Docker (version 24.0.1)
  • Docker compose (version 1.29.2)
  • MySQL (version 8.0.33)
  • OpenSSH (version 8.9)

Installation

  1. To get started, clone this repository to your local machine :
git clone https://gitlab.medianet.tn/pfe/2023-achraf-yaakoub/medianet.git

Getting Started

  1. Open a terminal and go to the "configAutomation" folder

  2. Start the Docker container of BDD by running the following command:

docker-compose up
  1. Open a terminal and go to the "FRONTEND" folder and run npm install to install the front-end dependencies.

  2. Run ng serve to start the front-end development server.

  3. Open another terminal and go to the "BACKEND" folder and run mvn spring-boot:run to start the back-end server.

  4. Add an admin to the application,you need to send a POST request to the http://localhost:8080/api/v1/auth/register URL using Postman or a similar tool. The request should include the admin's credentials in the request body as JSON format.

Here is an example JSON request body for adding an admin:

{
    "username": "admin",
    "password": "admin",
    "firstname": "admin",
    "lastname": "admin"
}

Replace the username, password, firstname and lastname values with the desired admin credentials.

Once you have sent the request, the admin will be created in the database and you can log in to the application using their credentials.

  1. Open a web browser and navigate to http://localhost:4200 to access the ConfigAutomation application.

Note:To use these application, you will need SSH access between the control node and the client server selected in the interface. For more information on configuring SSH access, see the Ansible documentation.

Contributions

Contributions are welcome for the ConfigAutomation project. If you would like to contribute to the project, please create a branch from the main branch of the Git repository first. Then, make your modifications and submit a pull request to merge them into the main branch.

Credits

This application is created by YAAKOUB.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •