This is the repository of my personal website martinbuberl.com.
It is hosted directly from this repository as a GitHub Pages site.
Install Ruby and Bundler if you don't have them already.
This GitHub Pages site is configured to be published from the /docs
folder on the master
branch. Change directory to that folder cd docs
.
Install Jekyll and other dependencies from the GitHub Pages gem:
bundle install
If your user account isn't allowed to install to the system RubyGems you can run bundle install --path vendor/bundle
to install the gems locally.
To preview the Jekyll site locally run:
bundle exec jekyll serve
Enable the --drafts
switch to preview the site with drafts bundle exec jekyll serve --drafts
.
You can run bundle exec jekyll serve 2>&1 | egrep -v 'deprecated'
to disable deprecation build warnings but usually a bundle update
should take care of those.
Then, load http://localhost:4000/ in your browser.