Skip to content

lbeckman314/lbeckman314.github.io

Repository files navigation

Jenkins Badge

About

A small Jekyll site for showing off personal projects!

Building

Requirements

  • Ruby: for building the site with Jekyll and Bundler.
  • Jekyll: static site generator.
  • Bundler: dependency management.
  • Git: source code management.

Instructions

Source code can be found here. To spin up your own site, follow the jekyll quick-start quide (adapted below):

# install ruby
# for OS-specific instructions, check out https://www.ruby-lang.org/en/downloads/

# Install Jekyll and Bundler gems through RubyGems
gem install jekyll bundler

# install dependencies
bundle install

# Create a new Jekyll site at ./myblog
jekyll new myblog

# alternatively, clone an existing jekyll site
# git clone https://liambeckman.com/cgit/website.git

# Change into your new directory
cd myblog

# Build the site on the preview server
bundle exec jekyll serve

# Now browse to http://localhost:4000

# then you can change the html/css files in the myblog directory to suit your tastes!

# hosting is a whole 'nother beast, but services like github pages
# and gitlab pages make free hosting relatively easier.

CI/CD

The website is updated every time a push is made to the master branch. Build commands are defined in the Jenkinsfile, and build results can be viewed at either of the following URL's.

Jenkins screenshot