Hey, this post is here to give an overview of how this site technically works. I’ll be defining the components and the reasons for my choices and linking relevant tutorials at the end. After going through this you can probably clone my repo, delete couple of folders that have these posts and put in your own content.
Although I am a developer, I have always worked o the back-end of stuff. Honestly, my experience with any front-end technology was as limited as just knowing <HTML>
tags. But as I started doing more and more projects for fun, I realised that I do not want to be shy about this going forward.
But at the same time I felt that it would be a shame for a professional developer to use Wordpress, Wixsite etc, although they are great solutions. And now that I have built this, I think it is as easy as any of these tools!
While knowing web development is not a prerequisite , Some basics of HTML (maybe Bootstrap and CSS too) would be good to have. You should be able to use Github Desktop atleast if not git command line.
Don’t worry, you barely need to use any HTML after an initial setup. I write all these posts in markdown which is plain text with minimal formatting. But if you right-click and view page source (Ctrl+U
on Chrome) on ony page here, or elsewhere on the internet you see HTML.
So the most important part of this website is a tool called Jekyll. This tool converts my simple markdown to HTML automatically along with themes, header, footers etc.
This is how easy it was for me to write this blog!
---
layout: project
title: How does this website work?
github_repo: https://github.com/swahareddy/swahareddy.github.io
---
Hey, this post is here to give an overview of how this site technically works. I'll be defining the components and the reasons for my choices and linking relevant tutorials at the end. After going through this you can probably clone my repo, delete couple of folders that have these posts and put in your own content.
### Where I was coming from?
Although I am a developer, I have always worked o the back-end of stuff. Honestly, my experience with any front-end technology was as limited as just knowing `<HTML>` tags. But as I started doing mor..
.
.
When you use Jekyll (or anything else like Flask, Angular etc) and get a good website ready, it is still running on a local link that only you can see like 127.0.0.1:4000/about.html
and not at a publicly accessible one like swahareddy.github.io/about.html
. This is the simplest step.
In order to do this, you need to use a hosting service. To put it simply, it is a fancier online storage of your photos, markdown files, templates etc. Most people use paid hosting services, but now we have an option to do this for free! This is why I am using Github Pages.
Now that you have converted 127.0.0.1:4000/about.html
➡ swahareddy.github.io/about.html
, you might still want to convert swahareddy.github.io/about.html
➡ tejaswa.me/about.html
.
This is purely optional, and the only place you’ll need to pay $$.
As you’d have expected, this is the easiest thing. I followed these instructions to link GoDaddy and GitHub. I have booked tejaswa.me for 5 years at a rate of approximately Rs 1000 per annum. All the DNS providers were almost the same price. Don’t be fooled by the first year cost, factor the cost of renewal in too.
If you have done Steps 1 and 2 from above, you can try more fun stuff like showing PDFs, visualisation dashboards, Google Sheets, Presentations, Animations, GIFs, Instagram, favicons etc