We have a development server droplet (dev) for our DJango Web Application, which was deployed on Ubuntu 18.x with Postgres DB and Python 3 virtual environment, DJango and GIT.
We have a production server on a different droplet (prod). This was installed on Ubuntu 18.x and configured with Postgress, Python 3 virtual environment, DJango, GIT, Gunicorn, Nginx, Let’s Encrypt.
Now we are planning to setup Jenkins server on the same development server droplet (dev) so that we can do continuous integration using source code from GIT and do deployment on dev server first and then Prod server once the code is clean and bugs free.
I’m looking for right documentation to setup Jenkins on our dev. server. I hope our existing dev. server should be compatible and my above use case configuration should be possible?
One other question that I have is should I have to setup the Jenkins in Virtual Env. or directly on droplet?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.