Krandor Home

Hugo & Firebase work well together

So I’ve been playing around a little bit with Hugo and Firebase - that’s what this new site is built with. It is also the first time I’ve played around with text/markdown to build a website. Not a bad combination to build a static page based structure and you can see that I have gone to town on with a simple hugo theme inspired by the geniuses behind bettermotherfuckingwebsite.com.

It wasn’t super hard to get it all together. Here are the steps I took…

1. Download and configure Hugo with the simple hugo theme - here’s a trick… create your Hugo directories FIRST!

1
2
3
4
5
6
7
hugo new site krandor
cd krandor/themes
git clone https://github.com/Xzya/simple-hugo-theme.git simple
cd ..
vi config.toml
hugo new about.md
hugo -t simple -D

2. Create a Firebase Hosting site - see Get started with Firebase Hosting - initialise your Firebase project in your

1
2
3
firebase login
firebase init
firebase deploy

3. Check out the site and browse to the /about path