Implemented these steps:
-
Created html pages and a css file (index, blog, about), just to design it
and get it ready for initial deployment
- Took a server from digital ocean (servers are called droplets)
-
Took a domain from godaddy. Set up that domain to hit my server IP
address
-
Installed nginx, added files to
/var/www/<folder to host>
http started working! -
Installed certbot, ran
certbot --nginx
and followed the guided steps. https started working!
- Static pages sucked, rewrote the blog in react. Added markdown files as pages... turns out it sucked, too
-
Brainstormed how to deal with blog posts without adding complexity of
frameworks, tools, servers, cms generators etc
- 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
-
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.