Repository navigation
Local Project
Rotari Pavel edited this page Mar 3, 2025
·
2 revisions
To run the project correctly, install the following tools:
-
Docker Desktop – A tool for working with containers.
- Download and install: Docker Desktop
-
Minikube – A local Kubernetes cluster.
- Download and install: Minikube
-
kubectl – A command-line tool for managing Kubernetes clusters.
- Download and install: kubectl
- Verify the installation using the command:
kubectl version --client
- Ensure that PostgreSQL is installed and running on port 5432.
- If PostgreSQL is not installed, download and install it from the official site.
- Verify that the server is running with:
psql -U postgres -c "SELECT version();"
- Create a folder named
licenseproin any convenient location. - Clone the next GitHub repositories:
https://github.com/License-Managemen-Solutions/licensepro-web-app.git https://github.com/License-Managemen-Solutions/licensepro-stripe-subscription-service.git https://github.com/License-Managemen-Solutions/licensepro-stripe-listener-service.git https://github.com/License-Managemen-Solutions/licensepro-cognito-authentication-service.git https://github.com/License-Managemen-Solutions/licensepro-user-service.git https://github.com/License-Managemen-Solutions/licensepro-account-service.git https://github.com/License-Managemen-Solutions/licensepro-jurisdiction-service.git https://github.com/License-Managemen-Solutions/licensepro-license-service.git https://github.com/License-Managemen-Solutions/licensepro-license-renewal-service.git https://github.com/License-Managemen-Solutions/licensepro-feature-service.git https://github.com/License-Managemen-Solutions/licensepro-audit-logs-service.git https://github.com/License-Managemen-Solutions/licensepro-devops-migrations.git
- Copy the build-images.bat file into the root
licenseprofolder. - Navigate to the
licensepro/licensepro-devops-migrations/toolsfolder. - Open the apply-changelogs.bat file, edit it if necessary.
- Run this file either by double-clicking it or using the command line:
apply-changelogs.bat
- Open a terminal and execute:
minikube start
- For a more convenient way to configure Minikube parameters, use the minikube-menu.bat script.
- Ensure that Docker Desktop and Minikube are running.
- Check Minikube status:
minikube status
- Verify that Docker is running:
docker version
- Check Minikube status:
- Navigate to the
licenseprofolder. - Run the build-images.bat script:
build-images.bat
- Wait for the compilation and Docker image upload process to complete.
- Ensure you are in the
licenseprofolder. - Apply the deployment manifest:
kubectl apply -f deploy-app.yaml
- Check running pods:
kubectl get pods
After completing all steps, the system should be successfully deployed in the local Kubernetes Minikube cluster.