Is it necessary to use Github pages?


#1

Hi there,

I’ve gone through many valleys of tears using different CMS and blog systems. I’m somehow tired of all those heavyweighted systems, specially Wordpress. Currently I’m running a site with October CMS which is pretty neat but I’m still not 100% satisfied. I always wanted to turn to Jekyll, but something kept me always aways from it, but can’t tell what it was.

However, whenever I read something about Jekyll I always get Github pages as additional result. Do I necessarily have to use Github pages or is it just something optional? I still can’t figure out what’s the purpose of the combination Jekyll + Github pages.

Anyone can describe it to me?

Regards, Thomas


#2

GH offers free hosting so lots of people use it.

I use S3 instead of GH pages as I am a control freak.

if you run Jekyl locally it will compile the site into a folder named _site, you can take that and do anything you want with it - ftp it to your own server, put it on S3 etc.

The slick thing about GH is that you can just have all your source files in version control using Git and the free GH service, and GH will run jekyll on the source files anytime there is a commit and compile a site for you and serve it all automagically… so for lots of things it is a great combination. I do use this for one of my sites - a personal blog of sorts and I end up doing everything on GH and it sort of ends up being a little like a CMS in that I can do it all from the online interface. For my real sites for my business I do everything local and then push the site folder to S3.

PS I came from using DNN CMS for 10 years or so - Jekyll is so much better for my use case, and I don’t have to worry about unpatched code or something leaving the server vulnerable. CMS’s have their place I suppose, but for a lot of/most sites a static generator is better in my opinion.


#3

No, you don’t have to use GitHub Pages. You can use Netlify instead for example if you want more control and extra features.

GitHub Pages will automatically trigger a build when you update your repository. So will other services like Netlify with the help of webhooks.


#4

Github pages are to host your jekyll site as it supports markdown language.

So if you don’t want to go with github pages then you can choose Netlify site.

It is very easy to use Netlify site to host and manage your site.