Raist•lan
/ˈreɪs.lən/
proper noun
a product-minded engineer whose browser tabs are a mix of LeetCode, film reviews, and running shoes; known for spearheading maintainability and cross-team collaboration.
"What distinguishes Raistlan is his collaborative approach to software development."

Making of: part one

Here are some of the extra things I had to make sure to do:

  1. Sort the blog posts by something, I decided to use date

  2. There's some duplicate code for things like headers that is just raw HTML. If I ever end up changing anything, I'll move those to a separate template at that time

  3. I ended up breaking out all of the post logic that I wrote into it's own file (this is maybe against the spirit of a "minimum viable" blog since it's not really being served by two files)

  4. Now I'm going to work on getting it deployed using DigitalOcean

  5. Checking Vercel now, since lots of people are recommending this

  6. Shout-out to Victor Cora Colombo for his blog post that details copying extra files when building typescript

  7. Going to attempt to re-deploy now

  8. Woke up late but still went for a run today, made a bacon, spinach, and egg hash for breakfast, and then got back to work on this.

  9. First step was creating a new directory for the Next.JS app and getting some of the files that I would need copied over

  10. Then made sure to get my global style sheet configured correctly before I tackled any of the routing issues

  11. Was able to pretty easily convert the code that I had before into React components -- which allowed me to re-use a lot of the things like the headers and template.html that I had before. I just had to convert it to React code.

  12. Porting the service code for the posts was really easy, but I did stumble a bit once the markdown was being spit out -- I used a very easy .md -> .html converter but was missing a lot of global styling due to Tailwind's css reset. Updating globals.css easily fixed that

  13. Ended up moving some files around a bit more based on how I like things laid out, I'm pretty content with how things are laid out now.

  14. Time to run vercel and see if I can just deploy this magically

  15. Ran into a problem with the param of slug being sent to the Post component for rendering. Simple to fix this by following the steps here: generateStaticParams.

  16. Running vercel again works, so going to repoint my domain to the new project I made and we should be good to go!

Thanks for following along! Check out the github repo and hit me up if you have any questions!

from june 5, 2025