From 8c9be226a51accdddb8bd9998513837fc892e622 Mon Sep 17 00:00:00 2001 From: RadinPirouz Date: Sun, 1 Sep 2024 18:34:55 +0330 Subject: [PATCH] Rework Dirs --- .../TelegramBot}/GettingStarted.md | 0 .../TelegramBot}/LocalTelegramBotServer.md | 0 .../TelegramBot}/WebHooks.md | 0 .../Ansible}/1-Inventory.md | 0 .../Ansible}/2-Commands.md | 0 .../Ansible}/3-PlayBook.md | 0 .../Ansible}/Additional.md | 0 .../Docker}/Docker-Swarm.md | 0 .../Docker}/Docker.md | 0 .../Docker}/Info.md | 0 .../kubernetes}/commands.md | 0 .../kubernetes}/information.md | 0 .../kubernetes}/instaltion.md | 0 .../kubernetes}/workloads/all.md | 0 Django/sysinfo | 1 - Info/CICD.md | 91 ------------------ .../Grafana}/Install-Grafana-Prometheus.md | 0 .../Grafana}/Install-Inflx.md | 0 .../Grafana}/introduction.md | 0 .../Librenms}/librenms.wiki | 0 .../Zabbix}/Zabbix-dashboard.png | Bin .../Zabbix}/doc.wiki | 0 .../Zabbix}/install_zabix.sh | 0 .../Zabbix}/mysql.png | Bin .../netdata}/netdata-install.md | 0 .../CronJob}/CronJob.md | 0 .../FileSharing}/smb.md | 0 .../Iptables}/iptables.md | 0 {nmap => Security & Networking/nmap}/Nmap.md | 0 .../Kernel}/Kernel_Compile.md | 0 .../Django}/db.sqlite3 | 0 .../Django}/info/__init__.py | 0 .../info/__pycache__/__init__.cpython-39.pyc | Bin .../__pycache__/serializers.cpython-39.pyc | Bin .../info/__pycache__/urls.cpython-39.pyc | Bin .../info/__pycache__/views.cpython-39.pyc | Bin .../Django}/info/admin.py | 0 .../Django}/info/apps.py | 0 .../Django}/info/migrations/__init__.py | 0 .../Django}/info/models.py | 0 .../Django}/info/serializers.py | 0 .../Django}/info/tests.py | 0 .../Django}/info/urls.py | 0 .../Django}/info/views.py | 0 .../Django}/manage.py | 0 .../Django}/sys_info.md | 0 .../LaravelAPI}/LearnAPI.zip | Bin .../LaravelOnNginx}/LaravelOnNginx | 0 .../NextCloud}/NextCloud.md | 0 .../nginx}/django.md | 0 .../nginx}/dotnet.md | 0 51 files changed, 92 deletions(-) rename {TelegramBot => Bots & Automation Tools/TelegramBot}/GettingStarted.md (100%) rename {TelegramBot => Bots & Automation Tools/TelegramBot}/LocalTelegramBotServer.md (100%) rename {TelegramBot => Bots & Automation Tools/TelegramBot}/WebHooks.md (100%) rename {Ansible => Configuration Management & Automation/Ansible}/1-Inventory.md (100%) rename {Ansible => Configuration Management & Automation/Ansible}/2-Commands.md (100%) rename {Ansible => Configuration Management & Automation/Ansible}/3-PlayBook.md (100%) rename {Ansible => Configuration Management & Automation/Ansible}/Additional.md (100%) rename {Docker => Containerization & Orchestration/Docker}/Docker-Swarm.md (100%) rename {Docker => Containerization & Orchestration/Docker}/Docker.md (100%) rename {Docker => Containerization & Orchestration/Docker}/Info.md (100%) rename {kubernetes => Containerization & Orchestration/kubernetes}/commands.md (100%) rename {kubernetes => Containerization & Orchestration/kubernetes}/information.md (100%) rename {kubernetes => Containerization & Orchestration/kubernetes}/instaltion.md (100%) rename {kubernetes => Containerization & Orchestration/kubernetes}/workloads/all.md (100%) delete mode 160000 Django/sysinfo delete mode 100644 Info/CICD.md rename {Grafana => Monitoring & Logging/Grafana}/Install-Grafana-Prometheus.md (100%) rename {Grafana => Monitoring & Logging/Grafana}/Install-Inflx.md (100%) rename {Grafana => Monitoring & Logging/Grafana}/introduction.md (100%) rename {Librenms => Monitoring & Logging/Librenms}/librenms.wiki (100%) rename {Zabbix => Monitoring & Logging/Zabbix}/Zabbix-dashboard.png (100%) rename {Zabbix => Monitoring & Logging/Zabbix}/doc.wiki (100%) rename {Zabbix => Monitoring & Logging/Zabbix}/install_zabix.sh (100%) rename {Zabbix => Monitoring & Logging/Zabbix}/mysql.png (100%) rename {netdata => Monitoring & Logging/netdata}/netdata-install.md (100%) rename {CronJob => Security & Networking/CronJob}/CronJob.md (100%) rename {FileSharing => Security & Networking/FileSharing}/smb.md (100%) rename {Iptables => Security & Networking/Iptables}/iptables.md (100%) rename {nmap => Security & Networking/nmap}/Nmap.md (100%) rename {Kernel => System & Kernel Management/Kernel}/Kernel_Compile.md (100%) rename {Django => Web Development & Frameworks/Django}/db.sqlite3 (100%) rename {Django => Web Development & Frameworks/Django}/info/__init__.py (100%) rename {Django => Web Development & Frameworks/Django}/info/__pycache__/__init__.cpython-39.pyc (100%) rename {Django => Web Development & Frameworks/Django}/info/__pycache__/serializers.cpython-39.pyc (100%) rename {Django => Web Development & Frameworks/Django}/info/__pycache__/urls.cpython-39.pyc (100%) rename {Django => Web Development & Frameworks/Django}/info/__pycache__/views.cpython-39.pyc (100%) rename {Django => Web Development & Frameworks/Django}/info/admin.py (100%) rename {Django => Web Development & Frameworks/Django}/info/apps.py (100%) rename {Django => Web Development & Frameworks/Django}/info/migrations/__init__.py (100%) rename {Django => Web Development & Frameworks/Django}/info/models.py (100%) rename {Django => Web Development & Frameworks/Django}/info/serializers.py (100%) rename {Django => Web Development & Frameworks/Django}/info/tests.py (100%) rename {Django => Web Development & Frameworks/Django}/info/urls.py (100%) rename {Django => Web Development & Frameworks/Django}/info/views.py (100%) rename {Django => Web Development & Frameworks/Django}/manage.py (100%) rename {Django => Web Development & Frameworks/Django}/sys_info.md (100%) rename {LaravelAPI => Web Development & Frameworks/LaravelAPI}/LearnAPI.zip (100%) rename {LaravelOnNginx => Web Development & Frameworks/LaravelOnNginx}/LaravelOnNginx (100%) rename {NextCloud => Web Servers & Reverse Proxies/NextCloud}/NextCloud.md (100%) rename {nginx => Web Servers & Reverse Proxies/nginx}/django.md (100%) rename {nginx => Web Servers & Reverse Proxies/nginx}/dotnet.md (100%) diff --git a/TelegramBot/GettingStarted.md b/Bots & Automation Tools/TelegramBot/GettingStarted.md similarity index 100% rename from TelegramBot/GettingStarted.md rename to Bots & Automation Tools/TelegramBot/GettingStarted.md diff --git a/TelegramBot/LocalTelegramBotServer.md b/Bots & Automation Tools/TelegramBot/LocalTelegramBotServer.md similarity index 100% rename from TelegramBot/LocalTelegramBotServer.md rename to Bots & Automation Tools/TelegramBot/LocalTelegramBotServer.md diff --git a/TelegramBot/WebHooks.md b/Bots & Automation Tools/TelegramBot/WebHooks.md similarity index 100% rename from TelegramBot/WebHooks.md rename to Bots & Automation Tools/TelegramBot/WebHooks.md diff --git a/Ansible/1-Inventory.md b/Configuration Management & Automation/Ansible/1-Inventory.md similarity index 100% rename from Ansible/1-Inventory.md rename to Configuration Management & Automation/Ansible/1-Inventory.md diff --git a/Ansible/2-Commands.md b/Configuration Management & Automation/Ansible/2-Commands.md similarity index 100% rename from Ansible/2-Commands.md rename to Configuration Management & Automation/Ansible/2-Commands.md diff --git a/Ansible/3-PlayBook.md b/Configuration Management & Automation/Ansible/3-PlayBook.md similarity index 100% rename from Ansible/3-PlayBook.md rename to Configuration Management & Automation/Ansible/3-PlayBook.md diff --git a/Ansible/Additional.md b/Configuration Management & Automation/Ansible/Additional.md similarity index 100% rename from Ansible/Additional.md rename to Configuration Management & Automation/Ansible/Additional.md diff --git a/Docker/Docker-Swarm.md b/Containerization & Orchestration/Docker/Docker-Swarm.md similarity index 100% rename from Docker/Docker-Swarm.md rename to Containerization & Orchestration/Docker/Docker-Swarm.md diff --git a/Docker/Docker.md b/Containerization & Orchestration/Docker/Docker.md similarity index 100% rename from Docker/Docker.md rename to Containerization & Orchestration/Docker/Docker.md diff --git a/Docker/Info.md b/Containerization & Orchestration/Docker/Info.md similarity index 100% rename from Docker/Info.md rename to Containerization & Orchestration/Docker/Info.md diff --git a/kubernetes/commands.md b/Containerization & Orchestration/kubernetes/commands.md similarity index 100% rename from kubernetes/commands.md rename to Containerization & Orchestration/kubernetes/commands.md diff --git a/kubernetes/information.md b/Containerization & Orchestration/kubernetes/information.md similarity index 100% rename from kubernetes/information.md rename to Containerization & Orchestration/kubernetes/information.md diff --git a/kubernetes/instaltion.md b/Containerization & Orchestration/kubernetes/instaltion.md similarity index 100% rename from kubernetes/instaltion.md rename to Containerization & Orchestration/kubernetes/instaltion.md diff --git a/kubernetes/workloads/all.md b/Containerization & Orchestration/kubernetes/workloads/all.md similarity index 100% rename from kubernetes/workloads/all.md rename to Containerization & Orchestration/kubernetes/workloads/all.md diff --git a/Django/sysinfo b/Django/sysinfo deleted file mode 160000 index e1acdd4..0000000 --- a/Django/sysinfo +++ /dev/null @@ -1 +0,0 @@ -Subproject commit e1acdd4d1e6878fc94b19fe78403fe0da3bd8270 diff --git a/Info/CICD.md b/Info/CICD.md deleted file mode 100644 index d77d1c3..0000000 --- a/Info/CICD.md +++ /dev/null @@ -1,91 +0,0 @@ -# CI/CD Overview - -Continuous Integration (CI) and Continuous Deployment (CD) are essential practices in modern software development. They aim to automate and streamline the process of building, testing, and deploying code changes, ensuring a faster and more reliable development cycle. - -## Table of Contents -- [What is CI/CD?](#what-is-cicd) -- [Key Concepts](#key-concepts) - - [Continuous Integration (CI)](#continuous-integration-ci) - - [Continuous Deployment (CD)](#continuous-deployment-cd) -- [Benefits of CI/CD](#benefits-of-cicd) -- [CI/CD Pipeline](#cicd-pipeline) -- [Tools for CI/CD](#tools-for-cicd) -- [Best Practices](#best-practices) -- [Conclusion](#conclusion) - ---- - -## What is CI/CD? - -**Continuous Integration (CI)** is the practice of frequently integrating code changes from multiple contributors into a shared repository. Each integration is verified by automated tests, ensuring that new code does not break existing functionality. - -**Continuous Deployment (CD)** is the practice of automatically deploying code changes to production or staging environments after passing the automated tests in the CI phase. - -## Key Concepts - -### Continuous Integration (CI) - -CI involves the following key steps: - -1. **Version Control**: Developers use a version control system (e.g., Git) to manage code changes. - -2. **Automated Builds**: Whenever a new code change is pushed to the repository, an automated build process is triggered. This compiles the code and checks for basic errors. - -3. **Automated Testing**: Automated tests (unit tests, integration tests, etc.) are run to verify that the code changes do not introduce new bugs. - -4. **Code Quality Checks**: Static code analysis tools check for code style violations, security issues, and other quality metrics. - -### Continuous Deployment (CD) - -CD builds on CI and includes the following steps: - -1. **Automated Deployment**: If all tests pass in the CI phase, the code is automatically deployed to a staging environment. - -2. **User Acceptance Testing (UAT)**: Stakeholders or QA teams conduct additional tests in the staging environment to ensure the changes meet business requirements. - -3. **Automated Deployment to Production**: If UAT is successful, the code is automatically deployed to the production environment. - -## Benefits of CI/CD - -- **Faster Development**: CI/CD reduces the time it takes to develop, test, and deploy code changes. - -- **Improved Quality**: Automated testing and code checks catch bugs early, reducing the likelihood of production issues. - -- **Consistency**: Builds and deployments are automated, ensuring that the process is consistent and repeatable. - -- **Increased Collaboration**: CI encourages frequent integration, leading to better collaboration among developers. - -## CI/CD Pipeline - -A CI/CD pipeline is a set of automated steps that code changes go through from development to deployment. It typically includes: - -- **Source Control**: Where code is stored (e.g., Git repository). -- **Build and Test**: Compilation and automated testing of the code. -- **Deployment**: Automated deployment to staging and production environments. -- **Monitoring and Feedback**: Monitoring the deployed code for performance and issues. - -## Tools for CI/CD - -There are several popular CI/CD tools available: - -- **Jenkins** -- **GitLab CI/CD** -- **Travis CI** -- **CircleCI** -- **Azure DevOps** - -## Best Practices - -1. **Automate Everything**: Automate as much of the process as possible, including testing, builds, and deployments. - -2. **Isolate Environments**: Keep development, staging, and production environments separate to prevent conflicts. - -3. **Monitor and Feedback**: Continuously monitor deployed code for performance and issues. - -4. **Version Everything**: Keep track of versions to easily identify and roll back changes if needed. - -5. **Security**: Integrate security checks into the pipeline to catch vulnerabilities early. - -## Conclusion - -CI/CD practices are crucial for modern software development. They enable faster, more reliable, and higher quality code delivery. By automating the development pipeline, teams can focus on creating value for users and stakeholders. diff --git a/Grafana/Install-Grafana-Prometheus.md b/Monitoring & Logging/Grafana/Install-Grafana-Prometheus.md similarity index 100% rename from Grafana/Install-Grafana-Prometheus.md rename to Monitoring & Logging/Grafana/Install-Grafana-Prometheus.md diff --git a/Grafana/Install-Inflx.md b/Monitoring & Logging/Grafana/Install-Inflx.md similarity index 100% rename from Grafana/Install-Inflx.md rename to Monitoring & Logging/Grafana/Install-Inflx.md diff --git a/Grafana/introduction.md b/Monitoring & Logging/Grafana/introduction.md similarity index 100% rename from Grafana/introduction.md rename to Monitoring & Logging/Grafana/introduction.md diff --git a/Librenms/librenms.wiki b/Monitoring & Logging/Librenms/librenms.wiki similarity index 100% rename from Librenms/librenms.wiki rename to Monitoring & Logging/Librenms/librenms.wiki diff --git a/Zabbix/Zabbix-dashboard.png b/Monitoring & Logging/Zabbix/Zabbix-dashboard.png similarity index 100% rename from Zabbix/Zabbix-dashboard.png rename to Monitoring & Logging/Zabbix/Zabbix-dashboard.png diff --git a/Zabbix/doc.wiki b/Monitoring & Logging/Zabbix/doc.wiki similarity index 100% rename from Zabbix/doc.wiki rename to Monitoring & Logging/Zabbix/doc.wiki diff --git a/Zabbix/install_zabix.sh b/Monitoring & Logging/Zabbix/install_zabix.sh similarity index 100% rename from Zabbix/install_zabix.sh rename to Monitoring & Logging/Zabbix/install_zabix.sh diff --git a/Zabbix/mysql.png b/Monitoring & Logging/Zabbix/mysql.png similarity index 100% rename from Zabbix/mysql.png rename to Monitoring & Logging/Zabbix/mysql.png diff --git a/netdata/netdata-install.md b/Monitoring & Logging/netdata/netdata-install.md similarity index 100% rename from netdata/netdata-install.md rename to Monitoring & Logging/netdata/netdata-install.md diff --git a/CronJob/CronJob.md b/Security & Networking/CronJob/CronJob.md similarity index 100% rename from CronJob/CronJob.md rename to Security & Networking/CronJob/CronJob.md diff --git a/FileSharing/smb.md b/Security & Networking/FileSharing/smb.md similarity index 100% rename from FileSharing/smb.md rename to Security & Networking/FileSharing/smb.md diff --git a/Iptables/iptables.md b/Security & Networking/Iptables/iptables.md similarity index 100% rename from Iptables/iptables.md rename to Security & Networking/Iptables/iptables.md diff --git a/nmap/Nmap.md b/Security & Networking/nmap/Nmap.md similarity index 100% rename from nmap/Nmap.md rename to Security & Networking/nmap/Nmap.md diff --git a/Kernel/Kernel_Compile.md b/System & Kernel Management/Kernel/Kernel_Compile.md similarity index 100% rename from Kernel/Kernel_Compile.md rename to System & Kernel Management/Kernel/Kernel_Compile.md diff --git a/Django/db.sqlite3 b/Web Development & Frameworks/Django/db.sqlite3 similarity index 100% rename from Django/db.sqlite3 rename to Web Development & Frameworks/Django/db.sqlite3 diff --git a/Django/info/__init__.py b/Web Development & Frameworks/Django/info/__init__.py similarity index 100% rename from Django/info/__init__.py rename to Web Development & Frameworks/Django/info/__init__.py diff --git a/Django/info/__pycache__/__init__.cpython-39.pyc b/Web Development & Frameworks/Django/info/__pycache__/__init__.cpython-39.pyc similarity index 100% rename from Django/info/__pycache__/__init__.cpython-39.pyc rename to Web Development & Frameworks/Django/info/__pycache__/__init__.cpython-39.pyc diff --git a/Django/info/__pycache__/serializers.cpython-39.pyc b/Web Development & Frameworks/Django/info/__pycache__/serializers.cpython-39.pyc similarity index 100% rename from Django/info/__pycache__/serializers.cpython-39.pyc rename to Web Development & Frameworks/Django/info/__pycache__/serializers.cpython-39.pyc diff --git a/Django/info/__pycache__/urls.cpython-39.pyc b/Web Development & Frameworks/Django/info/__pycache__/urls.cpython-39.pyc similarity index 100% rename from Django/info/__pycache__/urls.cpython-39.pyc rename to Web Development & Frameworks/Django/info/__pycache__/urls.cpython-39.pyc diff --git a/Django/info/__pycache__/views.cpython-39.pyc b/Web Development & Frameworks/Django/info/__pycache__/views.cpython-39.pyc similarity index 100% rename from Django/info/__pycache__/views.cpython-39.pyc rename to Web Development & Frameworks/Django/info/__pycache__/views.cpython-39.pyc diff --git a/Django/info/admin.py b/Web Development & Frameworks/Django/info/admin.py similarity index 100% rename from Django/info/admin.py rename to Web Development & Frameworks/Django/info/admin.py diff --git a/Django/info/apps.py b/Web Development & Frameworks/Django/info/apps.py similarity index 100% rename from Django/info/apps.py rename to Web Development & Frameworks/Django/info/apps.py diff --git a/Django/info/migrations/__init__.py b/Web Development & Frameworks/Django/info/migrations/__init__.py similarity index 100% rename from Django/info/migrations/__init__.py rename to Web Development & Frameworks/Django/info/migrations/__init__.py diff --git a/Django/info/models.py b/Web Development & Frameworks/Django/info/models.py similarity index 100% rename from Django/info/models.py rename to Web Development & Frameworks/Django/info/models.py diff --git a/Django/info/serializers.py b/Web Development & Frameworks/Django/info/serializers.py similarity index 100% rename from Django/info/serializers.py rename to Web Development & Frameworks/Django/info/serializers.py diff --git a/Django/info/tests.py b/Web Development & Frameworks/Django/info/tests.py similarity index 100% rename from Django/info/tests.py rename to Web Development & Frameworks/Django/info/tests.py diff --git a/Django/info/urls.py b/Web Development & Frameworks/Django/info/urls.py similarity index 100% rename from Django/info/urls.py rename to Web Development & Frameworks/Django/info/urls.py diff --git a/Django/info/views.py b/Web Development & Frameworks/Django/info/views.py similarity index 100% rename from Django/info/views.py rename to Web Development & Frameworks/Django/info/views.py diff --git a/Django/manage.py b/Web Development & Frameworks/Django/manage.py similarity index 100% rename from Django/manage.py rename to Web Development & Frameworks/Django/manage.py diff --git a/Django/sys_info.md b/Web Development & Frameworks/Django/sys_info.md similarity index 100% rename from Django/sys_info.md rename to Web Development & Frameworks/Django/sys_info.md diff --git a/LaravelAPI/LearnAPI.zip b/Web Development & Frameworks/LaravelAPI/LearnAPI.zip similarity index 100% rename from LaravelAPI/LearnAPI.zip rename to Web Development & Frameworks/LaravelAPI/LearnAPI.zip diff --git a/LaravelOnNginx/LaravelOnNginx b/Web Development & Frameworks/LaravelOnNginx/LaravelOnNginx similarity index 100% rename from LaravelOnNginx/LaravelOnNginx rename to Web Development & Frameworks/LaravelOnNginx/LaravelOnNginx diff --git a/NextCloud/NextCloud.md b/Web Servers & Reverse Proxies/NextCloud/NextCloud.md similarity index 100% rename from NextCloud/NextCloud.md rename to Web Servers & Reverse Proxies/NextCloud/NextCloud.md diff --git a/nginx/django.md b/Web Servers & Reverse Proxies/nginx/django.md similarity index 100% rename from nginx/django.md rename to Web Servers & Reverse Proxies/nginx/django.md diff --git a/nginx/dotnet.md b/Web Servers & Reverse Proxies/nginx/dotnet.md similarity index 100% rename from nginx/dotnet.md rename to Web Servers & Reverse Proxies/nginx/dotnet.md