<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Wisdom Iyayinosa Bezaleel</title>
    <description>The latest articles on Forem by Wisdom Iyayinosa Bezaleel (@thereal_bezali).</description>
    <link>https://forem.com/thereal_bezali</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1278033%2F5542f9bd-79da-490a-aed7-d102b8749d89.jpg</url>
      <title>Forem: Wisdom Iyayinosa Bezaleel</title>
      <link>https://forem.com/thereal_bezali</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/thereal_bezali"/>
    <language>en</language>
    <item>
      <title>Working with Pull Requests in Visual Studio Code and GitHub</title>
      <dc:creator>Wisdom Iyayinosa Bezaleel</dc:creator>
      <pubDate>Fri, 19 Jul 2024 14:44:14 +0000</pubDate>
      <link>https://forem.com/thereal_bezali/working-with-pull-requests-in-visual-studio-code-and-github-1pid</link>
      <guid>https://forem.com/thereal_bezali/working-with-pull-requests-in-visual-studio-code-and-github-1pid</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj600vu6tein0gxej4f0y.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj600vu6tein0gxej4f0y.png" alt="Image description" width="800" height="367"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>How to Build a Container Image Running on Docker Hub.</title>
      <dc:creator>Wisdom Iyayinosa Bezaleel</dc:creator>
      <pubDate>Wed, 03 Apr 2024 20:09:23 +0000</pubDate>
      <link>https://forem.com/thereal_bezali/how-to-build-a-container-image-running-on-docker-hub-1p6</link>
      <guid>https://forem.com/thereal_bezali/how-to-build-a-container-image-running-on-docker-hub-1p6</guid>
      <description>&lt;p&gt;On this blog, i will take you step by step on the process of building container image running on Docker Hub.&lt;br&gt;
First lets have a brief understanding on what a container is&lt;/p&gt;

&lt;p&gt;A container is a standard unit of software that packages up code and all its dependencies so the application runs quickly and reliably from one computing environment to another. A Docker container image is a lightweight, standalone, executable package of software that includes everything needed to run an application: code, runtime, system tools, system libraries and settings.&lt;br&gt;
At the end of this article, you will have practical knowledge of what containerization is, and also be able to build your own.&lt;br&gt;
To begin this project, ensure you have installed Oracle VM VirtualBox. If you haven't, locate my article "preparing my environment to for Containerization" &lt;/p&gt;

&lt;p&gt;Now lets begin...&lt;br&gt;
Login to your Linux VM by inputting your username and password&lt;br&gt;
Now go ahead and open your Linux terminal&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb4j46kkbcglcc8iogpog.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb4j46kkbcglcc8iogpog.PNG" alt="Image description" width="800" height="502"&gt;&lt;/a&gt;&lt;br&gt;
Click on ACTIVITIES, then on the search box, search for TERMINAL, click it open&lt;br&gt;
Next, enter into root user with the command "sudo su" and press enter&lt;br&gt;
You would be requested to input your password, note that your password will be kept invisible, do well to enter it correctly and enter&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flvn3jlw10qa41x6mivm3.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flvn3jlw10qa41x6mivm3.PNG" alt="Image description" width="737" height="200"&gt;&lt;/a&gt;&lt;br&gt;
Input the "apt update" command to update install available software updates &lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fumjvayo936a4s2uscp72.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fumjvayo936a4s2uscp72.PNG" alt="Image description" width="800" height="168"&gt;&lt;/a&gt;&lt;br&gt;
Next step is to create your directory with the command "mkdir", leave a space and give your directory a name. MKDIR means Make Directory&lt;br&gt;
To open the directory, use the command "cd", leave a space and type the directory name. Press enter&lt;br&gt;
Use the "ls" command to see the files in the directory.. LS means to list&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnt8389dnv14wzupjtsgt.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnt8389dnv14wzupjtsgt.PNG" alt="Image description" width="800" height="51"&gt;&lt;/a&gt;&lt;br&gt;
Next is to create our text file use the command "touch" followed by the file name. &lt;br&gt;
Use the command "vi" to enter the file you have created. &lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd6ze865nykr9a5ih6zr3.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd6ze865nykr9a5ih6zr3.PNG" alt="Image description" width="800" height="80"&gt;&lt;/a&gt;&lt;br&gt;
Once you click on enter, the text file opens as shown in the image below.&lt;br&gt;
Click the letter "i" to input your information&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkqqg5l76v9wfiur3djzm.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkqqg5l76v9wfiur3djzm.PNG" alt="Image description" width="800" height="618"&gt;&lt;/a&gt;&lt;br&gt;
You can then go ahead to input the details you want. &lt;br&gt;
To exit this editor, click "Esc" button on your PC, then ":wq" (column wq) &lt;br&gt;
after you exit the editor, you can view the content of you file by using the "cat" command followed by the name of your file&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fur4xj5ypr4ls3b59232z.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fur4xj5ypr4ls3b59232z.PNG" alt="Image description" width="800" height="106"&gt;&lt;/a&gt;&lt;br&gt;
Now we need to build our container image.&lt;br&gt;
Input the command "docker build -t mydocker ."&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdmwnw8ocndkc2keu78sp.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdmwnw8ocndkc2keu78sp.PNG" alt="Image description" width="800" height="110"&gt;&lt;/a&gt;&lt;br&gt;
Then press enter, your container image will start to build&lt;br&gt;
Once its has finished building, you will see the "FINISHED" report&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F18jqoscbhn4sca2j58sm.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F18jqoscbhn4sca2j58sm.PNG" alt="Image description" width="800" height="239"&gt;&lt;/a&gt;&lt;br&gt;
We have a successful project&lt;/p&gt;

</description>
      <category>docker</category>
      <category>kubernetes</category>
      <category>azure</category>
      <category>containerapps</category>
    </item>
    <item>
      <title>A Comprehensive Guide to Creating a Function App Calculator, Publishing to Azure Portal, and Pushing to GitHub</title>
      <dc:creator>Wisdom Iyayinosa Bezaleel</dc:creator>
      <pubDate>Sat, 23 Mar 2024 06:52:20 +0000</pubDate>
      <link>https://forem.com/thereal_bezali/a-comprehensive-guide-to-creating-a-function-app-calculator-publishing-to-azure-portal-and-pushing-to-github-4mak</link>
      <guid>https://forem.com/thereal_bezali/a-comprehensive-guide-to-creating-a-function-app-calculator-publishing-to-azure-portal-and-pushing-to-github-4mak</guid>
      <description>&lt;p&gt;&lt;strong&gt;Prerequisite&lt;/strong&gt;&lt;br&gt;
Download and install Visual Studio Community 2022&lt;br&gt;
Have an existing GitHub Account and of course, an active subscription on your Azure Account.&lt;/p&gt;

&lt;p&gt;The first step is to create a function app on your Azure portal. In the search bar, type in FUNCTION APP and click on it&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjo9a7a91f68p3of607wt.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjo9a7a91f68p3of607wt.PNG" alt="Image description" width="783" height="885"&gt;&lt;/a&gt;&lt;br&gt;
When it opens, select CREATE and on the basic section, input the right details to proceed&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F14t1aaogw324xakehgrs.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F14t1aaogw324xakehgrs.PNG" alt="Image description" width="800" height="525"&gt;&lt;/a&gt;&lt;br&gt;
Choose a resource group, you can instantly create one if you dont already have one.&lt;br&gt;
Give your function app a name as i have done.&lt;br&gt;
Other settings should take replica of my own settings in the image above.&lt;br&gt;
Leave every other settings on the other section as default and proceed to review and create&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk4kq5i2tsuyznw16j44t.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk4kq5i2tsuyznw16j44t.PNG" alt="Image description" width="800" height="639"&gt;&lt;/a&gt;&lt;br&gt;
The resource should begin to deploy. see it through till deployment is complete&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhfwvymwyg7c5c0zqz8dr.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhfwvymwyg7c5c0zqz8dr.PNG" alt="Image description" width="800" height="455"&gt;&lt;/a&gt;&lt;br&gt;
Your function app is deployed and ready to carry your calculator app&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F20x8f5fs1gh87zrwrwjd.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F20x8f5fs1gh87zrwrwjd.PNG" alt="Image description" width="800" height="366"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Now lets go to visual studio&lt;/strong&gt;&lt;br&gt;
Open your virtual studio application, select new project&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4tuonowj25byaoithjrt.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4tuonowj25byaoithjrt.PNG" alt="Image description" width="800" height="432"&gt;&lt;/a&gt;&lt;br&gt;
Search for App function, select it and click next&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0b7remoyxg7s7rvrh395.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0b7remoyxg7s7rvrh395.PNG" alt="Image description" width="800" height="545"&gt;&lt;/a&gt;&lt;br&gt;
Give your project a name and click next&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo3ru0jsmuqxfcqccyo4i.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo3ru0jsmuqxfcqccyo4i.PNG" alt="Image description" width="800" height="531"&gt;&lt;/a&gt;&lt;br&gt;
Leave the next page at default settings.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feqmi5z6wlem0kjmlcgj1.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feqmi5z6wlem0kjmlcgj1.PNG" alt="Image description" width="800" height="558"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now we are going to edit this set of codes to create our calculator app&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F237rbnex92qz5u9r6pav.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F237rbnex92qz5u9r6pav.PNG" alt="Image description" width="800" height="537"&gt;&lt;/a&gt;&lt;br&gt;
Edit the function name on line 15 and the public static class line 13 to "Sum". This programming language allows you to calculate the total of a set of numbers.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F34glh3b7wlrqfbz2ecd9.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F34glh3b7wlrqfbz2ecd9.PNG" alt="Image description" width="528" height="100"&gt;&lt;/a&gt;&lt;br&gt;
Now delete code line 21 till the end.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgl43ll7jp3ac5yd94umj.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgl43ll7jp3ac5yd94umj.PNG" alt="Image description" width="800" height="458"&gt;&lt;/a&gt;&lt;br&gt;
Type the following code from line 22 to replace the deleted codes;&lt;br&gt;
int x = int .Parse(req.Query["x"]);&lt;br&gt;
int y = int.Parse(req.Query["y"]);&lt;br&gt;
int result = x+y;&lt;br&gt;
return new OkObjectResult(result);&lt;/p&gt;

&lt;p&gt;Once you are done click on build at the top of the page&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd57x2v5lkw2e6du8oqfd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd57x2v5lkw2e6du8oqfd.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
You should get this result verifying no issues with our build&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5oikekylyuhpfn40a57j.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5oikekylyuhpfn40a57j.PNG" alt="Image description" width="800" height="490"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now we will publish our calculator to azure by selecting thr build drop down and select publish.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8ru901szmp3u6lurpduv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8ru901szmp3u6lurpduv.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
Next, click on Azure and click "Next" &lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6n3wgu1lfpn482quo3wd.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6n3wgu1lfpn482quo3wd.PNG" alt="Image description" width="800" height="550"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Faip00me7xfkzz7wjhdwr.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Faip00me7xfkzz7wjhdwr.PNG" alt="Image description" width="800" height="560"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs87fppumfgu1t7zkgtbz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs87fppumfgu1t7zkgtbz.png" alt="Image description" width="800" height="565"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Creating an Index File in Git Bash and Push it to GitHub</title>
      <dc:creator>Wisdom Iyayinosa Bezaleel</dc:creator>
      <pubDate>Fri, 22 Mar 2024 12:11:40 +0000</pubDate>
      <link>https://forem.com/thereal_bezali/creating-an-index-file-in-git-bash-and-push-it-to-github-244c</link>
      <guid>https://forem.com/thereal_bezali/creating-an-index-file-in-git-bash-and-push-it-to-github-244c</guid>
      <description>&lt;p&gt;In this blog, i will take you on a step-by-step journey to master the art of creating index files using a command-line interface on Git Bash. I will also take you through the process of pushing your codes to GitHub&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Prerequisite&lt;/strong&gt;&lt;br&gt;
Ensure you have installed Git Bash on your OS&lt;br&gt;
Ensure you have created a GitHub account&lt;/p&gt;

&lt;p&gt;So lets get started.&lt;br&gt;
First thing we do is to configure your environment, that is to ensure you are logged into your GitHub account. &lt;br&gt;
Open your Git Bash and input these commands, remember always to press ENTER after every command line.&lt;/p&gt;

&lt;p&gt;git config --global user.name &lt;br&gt;
git config --global user.email &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw94zmqpr8rcaf9w8pivf.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw94zmqpr8rcaf9w8pivf.PNG" alt="Image description" width="722" height="177"&gt;&lt;/a&gt;&lt;br&gt;
Now we have to create our Folder/Directory. To do this, input the command mkdir, leave a space and give it a name. mkdir means make a directory. "mkdir basefaculty"&lt;br&gt;
Input the command "cd (change directory)" and press enter to open your directory&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh4pqtmae5jr92tmip6pr.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh4pqtmae5jr92tmip6pr.PNG" alt="Image description" width="800" height="204"&gt;&lt;/a&gt;&lt;br&gt;
Input the command "git init" and press enter&lt;/p&gt;

&lt;p&gt;This command creates a new Git repository in the current working directory.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgiio22xu2pnlufgaub34.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgiio22xu2pnlufgaub34.PNG" alt="Image description" width="800" height="123"&gt;&lt;/a&gt;&lt;br&gt;
You are good to go.&lt;br&gt;
Now we have to create our file and input our code. we are going to create a new empty Text file named index.html.&lt;/p&gt;

&lt;p&gt;Input the command "touch index.html" and press enter.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjli0dps04d4029qz6uxn.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjli0dps04d4029qz6uxn.PNG" alt="Image description" width="800" height="181"&gt;&lt;/a&gt;&lt;br&gt;
To input code in the empty file, input the command vi &lt;/p&gt;

&lt;p&gt;A blank space will appear, Click on the letter "i" on your keyboard to edit the file. Right-click and click on paste, to input your code. Let us use this code below as test. Copy this code from the comment section of this blog, and paste this in the blank page.&lt;br&gt;
&amp;lt;!DOCTYPE html&amp;gt;&lt;br&gt;
&lt;br&gt;
    &lt;/p&gt;
&lt;br&gt;
        My web page&lt;br&gt;
    &lt;br&gt;
    &lt;br&gt;
        &lt;h1&gt;Hello, world!&lt;/h1&gt;
&lt;br&gt;
        &lt;p&gt;This is my first web page.&lt;/p&gt;
&lt;br&gt;
        &lt;p&gt;It contains a &lt;br&gt;
             &lt;strong&gt;main heading&lt;/strong&gt; and &lt;em&gt; paragraph &lt;/em&gt;.&lt;br&gt;
        &lt;/p&gt;
&lt;br&gt;
    &lt;br&gt;
  

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3ljej9hmkeffurpswx4b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3ljej9hmkeffurpswx4b.png" alt="Image description" width="800" height="241"&gt;&lt;/a&gt;&lt;br&gt;
To continue, press the esc button on your PC, input :wq and press enter to close the index.html file &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3bftqp0b10q8cyf6o64h.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3bftqp0b10q8cyf6o64h.PNG" alt="Image description" width="800" height="437"&gt;&lt;/a&gt;&lt;br&gt;
To view your code, input the command cat &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F44a86bj2y0subqm119fj.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F44a86bj2y0subqm119fj.PNG" alt="Image description" width="800" height="329"&gt;&lt;/a&gt;&lt;br&gt;
Now we will need a repository to house this folder and file, let's quickly create one by going to our GitHub account. To create our repository, login to your GitHub account.&lt;br&gt;
On the upper-left corner of your account, click on the + sign and select "New repository"&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fogno1mm1r9e63mesd4xx.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fogno1mm1r9e63mesd4xx.PNG" alt="Image description" width="800" height="273"&gt;&lt;/a&gt;&lt;br&gt;
Give your repo a name, ensure its public, and tick the "Add a ReadME file" box&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnkqrxm5l0w5zfl9o9xnh.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnkqrxm5l0w5zfl9o9xnh.PNG" alt="Image description" width="800" height="400"&gt;&lt;/a&gt;&lt;br&gt;
Click create to finalize.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4so2gam72zo2l68bl9s1.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4so2gam72zo2l68bl9s1.PNG" alt="Image description" width="800" height="123"&gt;&lt;/a&gt;&lt;br&gt;
On your repository page, click on "Code", copy the url on the HTTPs section, and go back to your Git Bash&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvhq33xr9vmme5xpm6e1p.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvhq33xr9vmme5xpm6e1p.PNG" alt="Image description" width="800" height="336"&gt;&lt;/a&gt;&lt;br&gt;
We are done creating our repository, now lets go back to our Git Bash and push.&lt;br&gt;
To add a remote repository named "origin" with a specified link to your Git repository, you can use the "git remote add origin" command followed by the remote name ("origin") and the URL of the remote repository.&lt;/p&gt;

&lt;p&gt;git remote add origin &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsnrf1cog8nj95glvendv.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsnrf1cog8nj95glvendv.PNG" alt="Image description" width="800" height="89"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To add the file input "git add index.html" and enter&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm5yi2jkglyh0e79r68m3.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm5yi2jkglyh0e79r68m3.PNG" alt="Image description" width="800" height="64"&gt;&lt;/a&gt;&lt;br&gt;
You can confirm if the file has been added by inputting this command.&lt;br&gt;
git status&lt;br&gt;
you should get this feedback&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbgqfl3gyqeoopaqt05ei.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbgqfl3gyqeoopaqt05ei.PNG" alt="Image description" width="800" height="162"&gt;&lt;/a&gt;&lt;br&gt;
Input this command to create a new commit in your Git repository with a commit message&lt;br&gt;
git commit -m &amp;lt;'the message'&amp;gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fux69vufr4rd49v37f7ql.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fux69vufr4rd49v37f7ql.PNG" alt="Image description" width="800" height="89"&gt;&lt;/a&gt;&lt;br&gt;
You can check the status by inputting the "git status" command&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdpdxosjshc64a9iwyyui.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdpdxosjshc64a9iwyyui.PNG" alt="Image description" width="800" height="85"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now input the command 'git push origin master' and press enter. This command pushes the commits from your local "master" branch to the remote repository specified by the remote name "origin". After executing the push command, Git will upload your local commits to the GitHub repository in your master branch as shown in the generated command.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpo8r7c6e3lrzy8kd6qc0.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpo8r7c6e3lrzy8kd6qc0.PNG" alt="Image description" width="800" height="186"&gt;&lt;/a&gt;&lt;br&gt;
On your repository, on the code section, you would notice the default branch is main. To view your index.html file, click on branch and select the master branch.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5mrf04u7vk1ijgdmicr8.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5mrf04u7vk1ijgdmicr8.PNG" alt="Image description" width="800" height="517"&gt;&lt;/a&gt;&lt;br&gt;
From the capture below, you can see that our index file and our commit message reflect here.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb2i1phv5khy1uwcze29v.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb2i1phv5khy1uwcze29v.PNG" alt="Image description" width="800" height="365"&gt;&lt;/a&gt;&lt;br&gt;
Click on the text index to see the code we deployed&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj8brcra5k57ht1grtn1b.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj8brcra5k57ht1grtn1b.PNG" alt="Image description" width="800" height="386"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There you have it, Hopefully this helps.&lt;/p&gt;

</description>
      <category>git</category>
      <category>repo</category>
      <category>indexfile</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Deploying A Web App Using Azure CLI</title>
      <dc:creator>Wisdom Iyayinosa Bezaleel</dc:creator>
      <pubDate>Thu, 21 Mar 2024 01:04:05 +0000</pubDate>
      <link>https://forem.com/thereal_bezali/deploying-a-web-app-using-azure-cli-4fjo</link>
      <guid>https://forem.com/thereal_bezali/deploying-a-web-app-using-azure-cli-4fjo</guid>
      <description>&lt;p&gt;On this blog, i will show you how to deploy a web app using Azure CLI.  I am also going to create deployment slots for our Web Application within the Azure App Service. I will be doing most of my creations on the powershell rather than Azure portal&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Prerequisite&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Have powershell installed on your computer&lt;/li&gt;
&lt;li&gt;Have your web app repository in your GitHub&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Lets get started... Join me&lt;br&gt;
We are going to login to Azure portal, first open powershell on your pc, the image below shows the icon.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx5ewf84avfte7mijr40q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx5ewf84avfte7mijr40q.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And input this command: az login and click enter&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjs7x6887h0r1q2iypx8z.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjs7x6887h0r1q2iypx8z.png" alt="Image description"&gt;&lt;/a&gt;&lt;br&gt;
You should get a prompt to login to azure portal, correctly input your details and sign in&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo3iw5qhn8utb1qmlh8ea.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo3iw5qhn8utb1qmlh8ea.PNG" alt="Image description"&gt;&lt;/a&gt;&lt;br&gt;
If your login was successful, you would get as message telling you that you have logged into microsoft Azure.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl2walho75hx2gqd9xmpf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl2walho75hx2gqd9xmpf.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Go back to powershell, and you should also get a command proving you have logged in &lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbhhnfyblb30odk1ulqvt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbhhnfyblb30odk1ulqvt.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The next step is to create your resource group that will house your web service plan and your web app.&lt;br&gt;
Input this code to create your RG&lt;/p&gt;

&lt;p&gt;az group create --name (name your resource) --location (input the location you want your resource to be)&lt;/p&gt;

&lt;p&gt;Do well to not make mistakes in inputting of your code, press enter.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg72oz5diaklgib9j5t32.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg72oz5diaklgib9j5t32.PNG" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The next step is to create our service plan, the service plan will serve as an operating system for the web app. So input this command&lt;/p&gt;

&lt;p&gt;az appservice plan create --name  --resource-group &lt;/p&gt;

&lt;p&gt;and click enter&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8utxwszb3fmamaq93tf2.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8utxwszb3fmamaq93tf2.PNG" alt="Image description"&gt;&lt;/a&gt;&lt;br&gt;
Now that our app service plan has been successfully created, we will now go ahead to create our web app. input this command  and click enter&lt;br&gt;
az webapp create --name  --resource-group  --plan &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2h5r3venf9sgkjtpekqa.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2h5r3venf9sgkjtpekqa.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now we are going to import our HTTPS URL of our web app repository from GitHub. If you have not created your web app repository, locate my article on web app repository&lt;br&gt;
Now lets head to our GitHub account to get the URL&lt;br&gt;
Navigate to the right on your Web App repository page and right click on the green Code button. Copy the HTTPS link as shown in the image below&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwlhqd6ll708vsryb3pnk.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwlhqd6ll708vsryb3pnk.PNG" alt="Image description"&gt;&lt;/a&gt;&lt;br&gt;
Ensure your repository is accessible by putting it in public and not private. Now that you have copied your URL, input the following command &lt;/p&gt;

&lt;p&gt;az webapp deployment source config --name  --resource-group  --repo-url  --branch master --manual-integration&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs2j91uxonimi631j7gna.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs2j91uxonimi631j7gna.PNG" alt="Image description"&gt;&lt;/a&gt;&lt;br&gt;
We have successfully deployed our web app. You can go-to Azure portal, and from the app-service section, you will be able to view the deployed resource.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F327kdnmv798ipk67pkv5.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F327kdnmv798ipk67pkv5.PNG" alt="Image description"&gt;&lt;/a&gt;&lt;br&gt;
Click on your web app to see the overview, and from the overview, you will be able to access your domain.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpaow8f5vfjhldiskjrw0.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpaow8f5vfjhldiskjrw0.PNG" alt="Image description"&gt;&lt;/a&gt;&lt;br&gt;
Click on your default-domain to view the html.index file&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg8lcoko6t1nu8hy3726x.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg8lcoko6t1nu8hy3726x.PNG" alt="Image description"&gt;&lt;/a&gt;&lt;br&gt;
To view our Deployment, click on the "Deployment Center", we can also the link to our repository and the master branch.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwitzgzp8w7ujjtjz4bjl.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwitzgzp8w7ujjtjz4bjl.PNG" alt="Image description"&gt;&lt;/a&gt;&lt;br&gt;
You can also view your commit message on the Logs&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fljdtg2p2a292rxraspy5.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fljdtg2p2a292rxraspy5.PNG" alt="Image description"&gt;&lt;/a&gt;&lt;br&gt;
Now lets go ahead to create deployment slot. A deployment slot is a test version of your web app to see if it qualifies for deployment. In a situation where a version of your web app is already running, you can release a new version without users experiencing a down time.&lt;br&gt;
To create a deployment slot, go to your web app, navigate to 'deployment slot', you will notice our deployment is in deployment state, and running traffic is 100%. To add slot, click "add slot'&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7hexq2cg0x6k9zl7526a.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7hexq2cg0x6k9zl7526a.PNG" alt="Image description"&gt;&lt;/a&gt;&lt;br&gt;
Give your slot a name, and select add&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F28oeszuwmendbq6rssk2.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F28oeszuwmendbq6rssk2.PNG" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Input the percentage of traffic you want to give your deployment slot, save it. &lt;br&gt;
You can also have an overview of the deployment slot by clicking the name&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsgrwos7e0ti5gv0ncp39.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsgrwos7e0ti5gv0ncp39.PNG" alt="Image description"&gt;&lt;/a&gt;&lt;br&gt;
If you click the overview, you will notice the new deployment has a new environment where you can configure it, without it affecting the already running resource. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2ghiridm8rs48xwefjov.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2ghiridm8rs48xwefjov.PNG" alt="Image description"&gt;&lt;/a&gt;&lt;br&gt;
Now we are going to return traffic back to production. Follow the steps on the images below&lt;br&gt;
Click on "SWAP"&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjqlasxug1fj9mdq24f9o.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjqlasxug1fj9mdq24f9o.PNG" alt="Image description"&gt;&lt;/a&gt;&lt;br&gt;
Go ahead and swap.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpxrjsxp7hfdgqd1m5p2r.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpxrjsxp7hfdgqd1m5p2r.PNG" alt="Image description"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fan5pz8l82dmlx2k2f3si.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fan5pz8l82dmlx2k2f3si.PNG" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So our web App has been updated without tampering with the production environment.&lt;/p&gt;

</description>
      <category>webapp</category>
      <category>webdev</category>
      <category>cloudskills</category>
      <category>azure</category>
    </item>
  </channel>
</rss>
