diff --git a/docs/assets/docker_compose_up.png b/docs/assets/docker_compose_up.png new file mode 100644 index 0000000..540373d Binary files /dev/null and b/docs/assets/docker_compose_up.png differ diff --git a/docs/assets/jenkins_credentials-1.png b/docs/assets/jenkins_credentials-1.png new file mode 100644 index 0000000..8b7f41e Binary files /dev/null and b/docs/assets/jenkins_credentials-1.png differ diff --git a/docs/assets/jenkins_plugins_install.png b/docs/assets/jenkins_plugins_install.png new file mode 100644 index 0000000..bdb6138 Binary files /dev/null and b/docs/assets/jenkins_plugins_install.png differ diff --git a/docs/assets/samagra_arch.png b/docs/assets/samagra_arch.png new file mode 100644 index 0000000..53ee4ce Binary files /dev/null and b/docs/assets/samagra_arch.png differ diff --git a/docs/index.md b/docs/index.md index 63b9196..6aed6b2 100644 --- a/docs/index.md +++ b/docs/index.md @@ -36,32 +36,15 @@ import DocsCards from '@components/global/DocsCards'; -## Overview +## Welcome to the DevOps guide! -Your project's overview +Whether you're a startup or a large enterprise, your ability to deliver software quickly, reliably, and securely is critical to your success. That's where DevOps comes in. -### Sub Heading -1 -"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." +DevOps is a set of practices that combines development and operations teams to work together in a more agile, collaborative, and automated way. +At SamagraX, we're passionate about adopting DevOps practices and improve the software delivery capabilities. In this guide, we'll explore the key concepts, tools, and processes that make up a successful DevOps strategy. Whether you're just getting started with DevOps or looking to improve your existing practices, this guide will provide practical tips and best practices to help you achieve your goals. -### Sub Heading -2 +Let's get started with the guide. -"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." - - -## Appflow - -Your App Flow - -## Ecosystem - -Your App's Ecosystem - -### Join the Community - -There are millions of Ionic developers in over 200 countries worldwide. Here are some ways to join: - - -## License - -Your Project license +## Architecture +![SamagraX DevOps Pipeline Architecture](./assets/samagra_arch.png) diff --git a/docs/setup/compose_based.md b/docs/setup/compose_based.md new file mode 100644 index 0000000..15f1c17 --- /dev/null +++ b/docs/setup/compose_based.md @@ -0,0 +1,41 @@ +--- +title: Compose Based Deployment +--- + + + Environment Setup + + + +Here we'll deploy our pipeline in the Docker Container using compose. + +## Pre-requisites: +- Docker and Docker Swarm for running the compose services +- Make cli for running Makefile + +## Setting up the Pipeline +- ### **Clone the repository** +``` +git clone https://github.com/SamagraX-RCW/devops.git +``` + +- ### **Run the scripts to install Docker and Docker Compose** +``` +chmod +x ./scripts/setup.sh +./scripts/setup.sh +``` + +- ### **Now run the compose file to deploy Registry, Nginx and Vault** +``` +docker compose up -d +``` + +![Docker Compose image](../assets/docker_compose_up.png) + +- ### **Start RCW Services** +``` +make start +``` diff --git a/sidebars.js b/sidebars.js index e63be2f..9fa1877 100644 --- a/sidebars.js +++ b/sidebars.js @@ -4,13 +4,13 @@ module.exports = { type: 'category', label: 'Getting Started', collapsed: false, - items: ['index'] + items: ['index'], }, { type: 'category', label: 'Setup', collapsed: false, - items: ['setup/swarm_based'] + items: ['setup/compose_based', 'setup/swarm_based'], }, ],