Monday, March 2, 2015

5 Step to host static website/Project Pages site on github


5 Steps to host a static page or project page on github

  1. Create Github account and verify the email id
  2. Add your repository/project to github
  3. Create static pages for you application
  4. Create gh-page branch
  5. Live the pages

Create Github account and verify the email id

Create the github accound from github.com and verify email address.

Add your repository/project to github

Install git client in the respective box and upload the project to github

Create static pages for your application/profile

Create the static pages your repository, it takes all js/css/images folders also.


Create gh-page branch

Make a fresh clone


To set up a Project Pages site, you need to create a new "orphan" branch (a branch that has no common history with an existing branch) in your repository. The safest way to do this is to start with a fresh clone:



Create a gh-pages branch

Once you have a clean repository, you'll need to create the new gh-pages branch and remove all content from the working directory and index.



Add content and push
Now you have an empty working directory. You can create some content in this branch and push it to GitHub.push all static pages and relates files.

Load your new GitHub Pages site!!!!

After your push to the gh-pages branch, your Project Pages site will be available at http(s)://.github.io/. Note that Pages are always publicly accessible when published, even if their repository is private.

You con configure you domain to this.

I followed all the steps and created pages for my open source project have look for reference.







for reference see full sample code https://github.com/uttesh/pdfngreport/tree/gh-pages
live demo http://uttesh.github.io/pdfngreport/

Related Posts:

  • error 10 cordova google plus login ionic Below are the reason for the error 10. Android key and web client id not used properly. Missing debug key in .android folder of windows system Missing SHA1 key in the fire base console. Apk not using the ge… Read More
  • guacd:"Error: Protocol Security Negotiation Failure"Guacamole server is unable to make rdp connection with windows system and guacd library will throw this exception because windows remote desktop setting is not enabled. Enable remote desktop setting: this will solve th… Read More
  • Elastic Search 2.x sample CRUD code What is ElasticSearch? Elasticsearch is an open-source, restful, distributed, search engine built on top of apache-lucene, Lucene is arguably the most advanced, high-performance, and fully featured search engine library i… Read More
  • Remove or Filter Stopping/Stemming words using java For the better indexing or searching the data in the big text chunk we need to filter the unwanted words from the data to get the better performance on the search by indexing only the logical words. What is Stopping Words?… Read More
  • Hadoop Set Up on Ubuntu Linux (Single-Node Cluster)Running Hadoop on Ubuntu Linux (Single-Node Cluster) Hadoop is a framework written in Java, Incorporates features similar to those of the Google File System (GFS) and of the MapReduce computing paradigm. Hadoop’s HDFS is a… Read More

1 comment: