Setup and deploy Jekyll
-
To get started
gem install bundler jekyll jekyll new put-your-site-name-here cd put-your-site-name-here bundle exec jekyll serve [--verbose] -
Go To http://localhost:4000
- To deploy to GitHub pages
- Create GitHub new repo and push code
- Add a CNAME record with my DNS service provider using github-username.github.io
- GitHub repo > Settings > Pages > Build and deployment > Branch
- Pages > Custom domain
- GitHub creates a CNAME file in the project root
-
To generate your site’s static HTML
JEKYLL_ENV=production bundle exec jekyll build [--verbose] -
Find generated HTML in
_sitedirectory -
To find default minima template files
bundle show minima bundle info --path minima -
To find minima version
grep minima Gemfile gem "minima", "~> 2.5"