Saturday, December 12, 2020

How I set up this blog

Implemented these steps:

  1. Created html pages and a css file (index, blog, about), just to design it and get it ready for initial deployment
  2. Took a server from digital ocean (servers are called droplets)
  3. Took a domain from godaddy. Set up that domain to hit my server IP address
  4. Installed nginx, added files to
    /var/www/<folder to host>
    http started working!
  5. Installed certbot, ran
    certbot --nginx
    and followed the guided steps. https started working!
  6. Static pages sucked, rewrote the blog in react. Added markdown files as pages... turns out it sucked, too
  7. Brainstormed how to deal with blog posts without adding complexity of frameworks, tools, servers, cms generators etc
  8. Turns out, blogger (by google) has got a neat API to pull blog posts. So I can write posts in blogger, but display it however I want to code it. Here is their guide: https://developers.google.com/blogger/docs/3.0/using
  9. Implemented the API in react. Their guide does not mention what your blogger blogId is, but you can take a look at your blogs source code and lookup blogId. Also added https://github.com/googlearchive/code-prettify for any code that i need to write in blog posts.

 

I started a website

Linkedin, facebook and instagram represented my presence, but those are such awful mediums. I think everyone feels the same, but noone can find a reason not to be there. Linkedin for example is an endless sea of bullshit moral stories. Instagram the fakest idea of lifestyle you could imagine. Facebook... the very active are the craziest.

Sharing my thoughts on social networks doesn't seem to take any attention. And I get it, I think the feeds are fatiguing, what are my thought's if you sandwitch them between ads and fake news? I also think that, if anyone is interested in you, they would come to visit your page directly and take a look what's new in your life. Social networks are not made for people to share thoughts, they are made to play with your emotions and show you some ads.

For years I've been planning to create a website. I was playing with ideas on how to do it, should it be highly personal? Or maybe strictly professional with a portfolio? I did want to show and write about the things I do in programming, but somehow everytime I daydream about the site it was too overwhelming to plan, and I couldn't find value in the invested work.

I also have a github account, but I think I need a suplement for it, so I beleive that will be my main focus on blog here.

I've stumbled upon Luke Smith videos on youtube here, and he inspired me to create my personal website.

The site you are looking at right now was at first created with pure html and css. What an awful mistake. I was working on three pages, and copy pasting header from one to another, and then I change a header on one, forget to change to the other... you know what I mean. I did not intend to have it like that, I planned to only start queckly. Moved it to react anyway, it's much easier to write and faster to the user.

Anyway, thank you Luke Smith. Take a look at his work: https://lukesmith.xyz/