Atilla Tanrikulu

I am an experienced software engineer and architect living in Germany. I’m passionate about distributed scalable enterprise web-based microservices/applications and delivering great user experiences. I have created some amazing enterprise-level applications that many people have used and hopefully enjoyed.

Articles

Java Quick Reference Apache Kafka Tutorial Guvenli Kod Gelistirme Making an Enterprise Scale Angular Project Step by Step Nightly SQL Server Database Backup with command line batch file and windows scheduler AOP Framework without proxy pattern IdentityServer Nedir Middleware Pattern With Csharp And Javascript Docker most used commands Online Proje Dokumantasyonu, Docker, Nginx, mdwiki How to use Github Pages for static websites Inheritance with JavaScript, EC6 (ECMAScript 6, ECMAScript 2015) Object oriented javascript and Inheritance Singleton Pattern with Javascript Factory Pattern with Javascript Open terminal here mac os x service IdentityServer4-Angular-6-integration JMater notlari, kurulum ve kullanim Learn Jekyll in 12 Steps Make Mac Application with Automater from sh script Make spotlight index markdown or code files OAuth 2.0 Nedir (RFC6749) Using Custom CSS and Custom JavaScript to an Angular Project Cross Platform Desktop Application With .Net Core 2x and Angular 6x front-end projects with nodejs gulp bower yeoman and angularjs Host Asp.Net Core on Linux with Apache Redis kurulumu ve ayarlari Useful Mac OS Apps Choosing internet connection on multiple interface windows Name Server Kurulumu How to define domain name for your dynamic IP SQL table data compare, and prepare insert satements Useful Git Commands TFS ile Otomatik deployment yapmak Spring Boot Tutorial Sql server icin maliyetli sorgularin tespit edilmesi Arama Motoru Optimizasyonu (SEO) My installed mac apps

How to use Github Pages for static websites

  • You can turn your Github repository into a page very easily
  • How do we do this in 3 steps

Step-1: Create your local git repository

# Create folder
$ mkdir blog
$ cd blog
# git initiation and commit index.html
$ git init
$ touch index.html
# you can write some html into index.html
$ git add .
$ git commit -m 'init'
$ git status


Step-2: Create your remote Github repository and push your local repository into Github repository.

  • Open www.github.com and click “+” button in the Github page then type your “new repository” name like “blog”, after that click “Create Repository” button.
  • Open terminal and push an existing repository to Github
$ git remote add origin git@github.com:atillatan/blog.git
$ git push -u origin master

Step-3 Create your “gh-pages” branch

  • “gh-pages” is a special name for github, this branch is hosted up at github.
# Create branch
$ git branch gh-pages
$ git push origin gh-pages

That’s it, you can navigate your gitgub page https://your_github_username.github.io/blog

Next step: You’re probably going to want to have your own custom domain name.

  • How do we do this?
# create CNAME file for custom domain name
$ touch CNAME
# open CNAME file with nano editor
$ nano CNAME
# in the nano editor type your custom domain name (tanrikulu.biz) and save the CNAME file

$ git add .
# commit CNAME file to the master branch
$ git commit -m 'cname'
# switch gh-pages branche
$ git checkout gh-pages
$ git merge master
$ git push

after that you can change your DNS settings. in the DNS settings replace your A record IP address with github pages IP address

192.30.252.153
192.30.252.154

you can navigate your custom domain name with your browser.

Date: 2017-10-23 10:20:00 +0000