<?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>DEV Community: Suliman Munawar Khan</title>
    <description>The latest articles on DEV Community by Suliman Munawar Khan (@sullaimaan).</description>
    <link>https://dev.to/sullaimaan</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F370477%2F532637e4-9f1b-47b2-bf08-5bdceab281a7.jpg</url>
      <title>DEV Community: Suliman Munawar Khan</title>
      <link>https://dev.to/sullaimaan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sullaimaan"/>
    <language>en</language>
    <item>
      <title>How I Published my Portfolio website on GitHub</title>
      <dc:creator>Suliman Munawar Khan</dc:creator>
      <pubDate>Wed, 15 Jul 2020 20:26:56 +0000</pubDate>
      <link>https://dev.to/sullaimaan/how-i-published-my-portfolio-website-on-github-323b</link>
      <guid>https://dev.to/sullaimaan/how-i-published-my-portfolio-website-on-github-323b</guid>
      <description>&lt;p&gt;Hello folks&lt;br&gt;
Note: This is my first post on Dev.to so please avoid my mistakes.. 😊&lt;br&gt;
Today I am going to share how I host and published my portfolio website on GitHub without spending a penny.&lt;br&gt;
Before starting let me give a small introduction to what is GitHub?&lt;br&gt;
To understand GitHub, you want to first have an understanding of Git. Git is an open-source version system that was started by Linus Torvalds—the same one that created Linux. Git is similar to other version control systems—Subversion, CVS, and Mercurial to call a couple of.&lt;br&gt;
So, Git is a version system, but what does that mean? When developers create something (an app or a website, for example), they make constant changes to the code, releasing new versions up to and after the primary official (non-beta) release.&lt;/p&gt;

&lt;p&gt;All this talk about how GitHub is ideal for programmers may have you believing that they are the only ones who will find it useful. Although it’s a lot less common, you can actually use GitHub for any types of files. If you have a team that is constantly making changes to a word document, for example,  you could use GitHub as your version control system. This practice isn’t common, since there are better alternatives in most cases, but it’s something to keep in mind.&lt;/p&gt;

&lt;p&gt;Now that you know what GitHub is all about, so we are ready to start&lt;/p&gt;

&lt;p&gt;Step 1: To host a website on GitHub you first need to have you portfolio website or any other website ready&lt;/p&gt;

&lt;p&gt;Step 2: If you are good to go with step 1 then you must have a verified GitHub account I am sure every developer must have a GitHub account. If for some reason you don’t have one you have sign up for free here at github.com&lt;/p&gt;

&lt;p&gt;Step 3: after creating your GitHub account login to your account and head over to your GitHub dashboard&lt;/p&gt;

&lt;p&gt;Step 4: The Dashboard will look like this. Click on “New” Button.&lt;/p&gt;

&lt;p&gt;Step 5: after clicking on “New” Button, you will see a page like below where you have to create a new repository. Give your repository valid (meaning full) name. make sure you have selected the Public option checked, and hit the create button at the bottom of the page. &lt;/p&gt;

&lt;p&gt;Step 6: After creating repository you will see the next page like below. On this page you have to upload you website content. You can upload the website content by using three method but here I will be using the .git software to which helps you to upload your content to GitHub from your local machine using command line&lt;br&gt;
If you don’t have .git you can download it from here: .git&lt;/p&gt;

&lt;p&gt;Step 7: open the folder where you have saved your website right in that directory and click on “Open Bash Here”. after that you will see the following on your screen&lt;/p&gt;

&lt;p&gt;Step 8: So we are about to finish here write the following command &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; git init&lt;/li&gt;
&lt;li&gt; git add .&lt;/li&gt;
&lt;li&gt; git commit -m "first commit"&lt;/li&gt;
&lt;li&gt; git remote add origin 
    &lt;a href="https://github.com/SulimanFURC/YourName-Portfolio.git"&gt;https://github.com/SulimanFURC/YourName-Portfolio.git&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt; git push -u origin master&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;congratulation you have succussfuly uploaded you website to the GitHub repository&lt;br&gt;
now the is the step to make your website online&lt;/p&gt;

&lt;p&gt;Step 9: click on settings and scroll down to GitHub Pages.  Below is the option selector click on it and change it to master branch from “None” wait for a sec and the page will refresh by itself and after that you will see the link to your website like this &lt;a href="https://sulimanfurc.github.io/MyPortfolio/"&gt;https://sulimanfurc.github.io/MyPortfolio/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hurrah!! You have successfully hosted your website on GitHub now clicking on the link will take you to your website and of course it is up and live running… &lt;/p&gt;

&lt;p&gt;You can share this link on any social media to let the people know about your portfolio website or any other website.&lt;br&gt;
So we have come to the end of this post. I hope you have learned something from it.&lt;/p&gt;

&lt;p&gt;Please let me know in the comment section about your experience related to web development and GitHub. I will be sharing more related stuff in future&lt;br&gt;
Thank you! 😉&lt;/p&gt;

</description>
      <category>github</category>
      <category>git</category>
      <category>webdev</category>
      <category>portfoliowebsite</category>
    </item>
  </channel>
</rss>
