Are you an application developer or plugins developer? Maybe you need for a portfolio application for your website project.

On this day we don’t need to buy any space or custom domain for your project. You can easily host & create your project website in a min with free.

Today’s most of the developers know about GitHub. What is git hub & how to work GitHub? GitHub is an open-source project developing the point. GitHub also provides a space for your project and project website

In this article, I’m going to show you how to create a free website with Github. And host a project with the GitHub repository.

Before you are able to create a Github page, you need a Github account. You can easily create a new project repro by using the Github application, which is available for both Windows and OS X.


Step 1: Create your project’s repository. Log in to your GitHub account and go to https://github.com/new or click the New repository icon from your account homepage.


GitHub

Step 2: Click on the branch button on your repository page and add a new branch named gh-pages to your repository.

The gh-pages branch is used to publish your site. So, do not give any other name to your branch.


GitHub


Step 3: Use the Github page generator to automatically create webpages Browse to the settings page of your branch and click on the Automatic Page Generator


GitHub

Step 4: You will be redirected to the webpage editor where you can add content to your webpage. Once you are done, click on the Publish Page button.


GitHub

You have successfully created your page, your page will we available at seeing simply type URL in your by opening any browser
http://.github.io/  , mine is http://aamsuzon.github.io/theveline

Build webpage on your own


Step 5: Switch to gh-pages branch and add a new file to the branch by clicking the plus sign next to the branch name.


GitHub

Step 6: Name the file index.html, add HTML content to web page and click commit new file button to save changes


GitHub

Step 7: Once you commit the file your webpage will be available at http://usename.github.io/repository  ,

For example my one  http://aamsuzon.github.io/thedevline


GitHub

That’s it, Finally, your project website will be created on github.


To Edit your WebPage

GitHub

By selecting Repository click the branches option after click branches you will see branches page


GitHub

In your branches click gh-page now you will see all of your web project file details html,css,javascript file show here you can simply edit or add your file


GitHub

Leave a Reply

avatar
  Subscribe  
Notify of