Making Static Demo Sites on Github - tuts nano

You did a wonderful project using HTML, CSS and JavaScript. And you uploaded the project to Github so that other can get help. People now can easily fork, clone, or even download the repository. But something is missing – if a visible demo can be provided, it’d be great!

We will discuss on: How to create a static demo site on Github.

Static site means, there’s no server-side code there – you’re creating a site using pure HTML, CSS and JavaScript. Because we’re not getting any place to store a database.

Pre-requisite

You should know how to create a HTML file. For others, we will learn on the way…

How to proceed?

Step 1: Deploy code in Github

Easy as pie.Continue reading

Releasing Project on Github - tuts nano

Github.com is one of the modern concept in coding – the social coding. So using the site you can code socially – with friends, colleagues, mentors, even with someone you don’t even know. Most of the github projects are open source, because they are public by default. You can have private repositories also, but they are paid. Public or private – but most of the finished products hosted in github are not even released by their authors. Today we’re gonna take a look on how to release your github project.

Suppose your github.com repository is your project. And you are currently working on its version 1.0.0. Some other committers are also committing on the repository. And you all decided to finish its work for a stable 1.0.0 release. So, in that stage finish committing and go for a release.

Release using Git

The process of releasing product using git is actually git tag. Doing so you have to write in command line (git bash):

git tag -a v1.0.0 -m "First Release"

It will tag the last commit with v1.0.0 tag. Now push tags using command line and that will create a tag in Github too.

git push -u origin --tags

But it will write Release Note for you. So creating tags and release a product, Github has a feature called ‘Release’:

How to release

Continue reading