This is a simple notes app built with React and Django.
- Python 3.9
- Node.js
- React
A Django-based notes app DevOps project on Jenkins declarative groovy pipeline deployed on AWS ec2 instance. Continuous integration and continuous deployment are done, building a groovy syntax pipeline to automate and release the application. Docker is used to containerize the app image and docker-compose to isolate the environment as it can be reproduced anywhere. GitHub is used as source code management to store the code.
The following are the steps:
Launch an Ec2 instance of t2.micro type and use the Ubuntu image.
Connect the server and update and install Docker, Java, and Jenkins.
Add docker to user group, user is ubuntu.
Add docker to user group so that Jenkins can use.
Add a new pipeline item named as note-app-cicd-pipeline Hit check on Github project, and enter the URL of the Github repo.
In build trigger hit GitHub hook trigger GitScm polling.
In pipeline choose pipeline script from SCM (Git) enter the URL and Brach of the repo and enter declarative groovy pipeline script file in the Script path
Save and apply, Build the pipeline.
You can see in your Docker-Hub account the new image is built.
You can also check your terminal to run “Docker images” and “docker ps”
Open the 8000 port of the instance and see the notes app.
Please excuse if something is missed.