Posts

How to create a GitHub Repository

Image
Creating your first GitHub Repository Prerequisite:  You have a local project ready which you wish to push to your GitHub repo and you have git installed on your machine. Open terminal and cd to your local project directory.   cd /your-local-project-directory-path/ Initialize the project directory as a Git repository . git init Open github.com in your browser and log in with your GitHub account, if you don't have an account already, create one. Click on the "New repository" button displayed on the page. This will take you to "Create a new repository" page. Enter the name you will keep for your repository in the "Repository name" text field. You can choose to initialize your repository with a README file and also add a .gitignore file, but this is optional. Click on Create repository button and your repository will be created and you will be redirected to your repository page.  Click on "Clone or download" bu...

Setup Jenkins on Ubuntu 16.04

Image
What is Jenkins? Jenkins is a self-contained, open source automation server which can be used to automate all sorts of tasks related to building, testing, and delivering or deploying software. Jenkins can be installed through native system packages, Docker, or even run standalone by any machine with a Java Runtime Environment (JRE) installed. Jenkins Installation Prerequisite: Java should be pre-installed on the machine. Add Jenkins key by running below command, you should get the output as OK.  wget -q -O - https://pkg.jenkins.io/debian/jenkins-ci.org.key | sudo apt-key add - Add the Debian package repository to the sources.list.  sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list' Run update to use the added repository.  sudo apt-get update Now install Jenkins using apt-get.  sudo apt-get install jenkins Once the installation is completed, start Jenkins using systemctl.  ...