xavishobbies/xavishobbies/content/web_development/online.md
2023-02-19 11:04:54 -08:00

3.6 KiB

title date description categories tags
Online! 2022-06-06T12:58:09-08:00 Web Development - Administration
Top_of_the_Stack
Web Development
Administration

Hopefully you can see this because that means that I didn't mess anything up when updating the site! I'll quickly recap what I did over the last week and clarify what's in the pipeline for this upcoming week.

So I ended up destroying and remaking the Vultr VPS [Virtual Private Server if I didn't clarify that previously] so that I could have a fresh, clean environment to start messing around in. I decided to go with their smallest, and cheapest plan to start things off [I think it can handle the traffic that I expect to start "pouring" in].

{{< image_sc "/vultr_1.png" "Vultr Pricing" "Vultr Cloud Pricing" >}}

I found this video that explained how to calculate how much needed bandwidth I needed to budget for. Again I don't think I need much [something tells me I'm the only one checking in on this website 100 times a day]. I stuck with a Debian distribution for no reason in particular other than it's what I used previously on other VPSs [if your unfamiliar with Linux and Linux distributions I'll make some intro to Linux guides in the future that'll explain all the common nerd jargon].

I grabbed the domain name from dynadot and changed the DNS records to have it point to the IP of the VPS. I'll write up a full guide for this in a bit [honestly it's pretty easy]. I then installed nGinx, changed the config files to point to the html/css files, and started the service [kinda skipped the nitty gritty but again, guide incoming].

I was able to visit the site at this point from a client device but still had to set up SSL [Secure Sockets Layer] so that the connection was encrypted. Apparently it was pretty uncommon in the past to have encrypted connections on personal websites but that was changed with the help of the EFF with let's encrypt which offers free, open certificates [pretty cool of them honestly]. To make things even easier they also provide a python script(?) called certbot which automates the process of obtaining one of these ssl certificates. After I ran it I got the cool green lock icon in the address bar and was feeling pretty cool myself! :)

Those were the major updates for this week. Next week I'll be looking into hosting a git server to upload my code [including anything that I create for this website ie. html/css/scripting stuff] and a git visualiser. Hosting a git server seems easy enough but finding the right visualiser might need a bit more research. Right now the most promising candidate is stagit which is a static git page generator. Hope that works out.

The stretch goal for this week is the possibility to host videos with [maybe?] a peertube instance. Not sure how much of a pain and/or the bandwidth limitations will throttle the experience too much but it sounds useful to post, even short, videos demonstrating processes explicitly [if a picture is 1000 words than what does that make a video].

That's the update for the week.

Next TODOS! [Can be updated throughout the week]

  • Look into hosting git server
  • Set up gitolite for git permissions
  • Set up stagit for git visualization
  • Possibly Peertube for embedded videos