- Initialize site
- Things to add: Sample lecture notes, contact info, collaboration
-
Install Ruby on your local machine's operating system.
-
Within your terminal, install jekyll and bundler gems. Reference
gem install jekyll bundler
-
Initialize Github repo named
<github.username>.github.io
-
git clone
to local machine. Then navigate to cloned repo folder.
cd <github.username>.github.io
- Create Jekyll site within repo folder. Reference
jekyll new --skip-bundle .
- Follow steps 8 thru 13 to setup the site files. Reference
# Ensures all specified dependencies in _config.yml are installed
bundle install
- You can test your site on your local machine before pushing to remote.
bundle exec jekyll serve
-
Preview site in browser at
http://localhost:4000
. -
Once you're satisfied, clean the local repo with
bundle exec jekyll clean
- Git Add/Commit/Push to remote.