This is my personal blog, hosted on git. I'm using the Jekyll version of the "Editorial" theme by HTML5 UP.
To host website locally for dev purposes:
bundle exec jekyll serve
For those unfamiliar with how Jekyll works, check out https://jekyllrb.com/ for all the details, or read up on just the basics of front matter, writing posts, and creating pages.
MacOS can be quite finicky with github pages. This purge process seems to work:
- Remove Gemfile and Gemfile.lock
- Install gems
gem install bundler jekyll webrick jekyll-feed
bundle add jekyll-feed
- Host locally
bundle exec jekyll serve
- You should see a similar message:
(base) gautham@Ryuk-MacBook blog % bundle exec jekyll serve
Configuration file: /Users/gautham/src/blog/_config.yml
Source: /Users/gautham/src/blog
Destination: /Users/gautham/src/blog/_site
Incremental build: disabled. Enable with --incremental
Generating...
Jekyll Feed: Generating feed for posts
done in 0.683 seconds.
Auto-regeneration: enabled for '/Users/gautham/src/blog'
Server address: http://127.0.0.1:4000/
Server running... press ctrl-c to stop.