/myblog

Personal Blog. Hosted on AWS.

Primary LanguageRuby

blog

This repo holds my blog, powered by Jekyll.

Features

  • RSS Feed. What URI?
  • Disqus comments. Admin = @nbrand
  • Google Analytics
  • SEO. What version?
  • Examine Category code/functionality
  • new index page / reorder?

Install Google Analytics:

Where is the Jekyll defaults stored? bundle info --path minima

Building and deploying the static Jekyll website

  1. To run a local web server:
	 $ bundle exec jekyll serve
  
   # If I want to serve with Disqus comments
   $ JEKYLL_ENV=production bundle exec jekyll serve
  1. To build the website
	 $ bundle exec jekyll build
	 $ JEKYLL_ENV=production bundle exec jekyll build
  1. To push to production
	 # See rake/Rakefile
	 $ rake deploy
  1. To create new page. Go into _posts.
	 https://jekyllrb.com/docs/posts/
  1. If creating a draft post, put it in _drafts.
   $ bundle exec jekyll build --drafts
   $ bundle exec jekyll serve --drafts

Git commands

git commit -a -m "comment"
git push origin master
git pull