You can see the website source code here.
I wanted to try a new hobby, and making a website seemed fun. I decided on the blog format because I wanted to improve my writing. I chose to talk about STEM because I find it interesting - mathematics in particular. It is also a very broad topic so I should never run out of things to discuss.
I also wanted to use this website to “learn by teaching” (Feynman Technique). I don’t expect or care about getting a large number of people to read my blog. Making my notes/projects public will encourage myself to improve my writing, teaching, programming, and understanding. I hope so at least.
I made this for myself, but I hope if you found yourself here that you get something out it.
I chose these because I wanted to get a website up and running fast while having a high level of ability to customize. Also I wanted it to do it for free not counting the custom domain name cost which was optional.
I have done some web development before, but I have not worked with Jekyll or Ruby before. Perfect time to learn! I used Jekyll’s website for documentation. Specifically, this for the Ruby basics about gems, gemfiles, and bundler, and this for a step by step tutorial. Lastly, I searched for responsive minimal theme that just works. I was already comfortable working with GitHub.
gem install bundler
bundle install
To run locally:
bundle exec jekyll serve --watch --livereload
Then visit localhost:4000
in a browser.
Live reload doesn’t work with edits to the _config.yml file. In that case, I would have to cancel and run again.
The theme authors did a good job. The theme looks great on desktop and mobile (for the most part) by default. It also has icons and a manifest file set up for a web app for your mobile device. All set up by default.
I made the following changes after forking the repository.
To make a new post (from project root directory):
./scripts/new-post title-of-my-post-here
See my last post for more details.
I enabled GitHub Pages on the main branch. Whenever I push changes, GitHub will build the Jekyll site and deploy automatically. Nice!
I used Namecheap to buy a domain name. So far my experience has been positive with them. Other companies would have worked as well though.
I entered my domain name in GitHub Pages settings and url for project settings in _config.yml.
I created four A
records on Namecheap
185.199.108.153
185.199.109.153
185.199.110.153
185.199.111.153
I created one CNAME
record to point www.wilderdan.com
to wilderdan.github.io
on Namecheap.
I waited an hour or so and checked enforce HTTPS on GitHub Pages settings.
I am happy with how the website looks on desktop and mostly mobile. I am running into occasional extra spacing when viewing on iOS. It is less than ideal, but it isn’t too bad and still very much readable. I may look into it down the line.
The ‘new post’ script and Jekyll’s integration with GitHub makes for a nice workflow. I hope to post new things soon!