My First Post

Let's see how it goes

By ahchao

May 9, 2021

Website is finally launched, yay!

Today marks the first time I launched a proper website that is not under construction (as my previous attempt in 2014 has been).

I am using Hugo, a static site generator to create my content using markdown. It is simple enough to use, and with static files, it can be hosted anywhere easily. I thought to create my own website using React (and learn it), but I don’t need fancy stuff, just a basic place to create posts and manage them using git, how awesome. I am still learning the ins and out on how to use this, so hopefully the site will improve over time.

I used Dokku and run it on Vultr (you get $100 with my referral link), which hosts the website and the apps it is running.

If interested, I basically used these 2 buildpacks:

.buildpacks (in root folder)

https://github.com/testdouble/heroku-buildpack-hugo.git
https://github.com/dokku/buildpack-nginx.git

to get it to generate the static files and run nginx to host it, and ran dokku config:set app-name NGINX_ROOT=public on the server to get it to point it to the generated public folder /app/www/public.

I will try to add search and comments per blog post if/when I can. Let me know what you think!

comments powered by Disqus