TIL: 11-16-22

Well, today was a cool day. Since making the static site generator, my goal has been to move the actual website content pages (plus styling/scripts) to my own VPS. I really wasn't sure where to start for a long time. But then I came across LandChad. Now, the owner of this site holds to some views that I find pretty unagreeable. I won't link to his home page, because I went down that rabbit hole and it wasn't the most wholesome content... Nevertheless, he offers a ton of legitimately helpful advice on getting started with a virtual private server (VPS).

I made my way through grabbing a domain name (via NameCheap), purchasing droplet space from DigitalOcean, and away I went. Honestly, it really wasn't that bad. The kicker for most people, I think, is that you need some familiarity with Linux-based systems and working in the terminal rather than a GUI for managing files. But it was cool because I was able to set up nginx, which is the actual web server on the VPS that I'm using. I'd read about nginx before but it seemed like gobbledygook. The other thing I'll need to keep learning is how to use ssh effectively. SSH is a method for remoting into a non-local server or computer and managing files remotely. I found Julie Evans' cartoon and Corey Shafer's video on ssh really hepful here.

Next goals will be to use the server for other things: maybe storage or automating tasks when my laptops are put away. I also want to host a full-blown Django or Flask app. This blog is built by hand on my local computer, and the domain you're reading is just plain ol' vanilla HTML/CSS/JS. Django will change that up with doing server-side work. I plan to use Matt Segal's Django deployment guide for that.

Tagged: TIL, code, blogging,