Personal blog
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_assets
_includes
_layouts
_posts
about
contact
fonts
images/posts
offline
script
.editorconfig
.eslintrc.js
.gitignore
.jshintrc
.travis.yml
404.html
Gemfile
Gemfile.lock
LICENSE.md
README.md
_config.yml
favicon.ico
gulpfile.js
index.html
manifest.json
package-lock.json
package.json
robots.txt
sitemap.xml
sw.js

README.md

alxgbsn.co.uk

Build Status dependencies Status

This is the source code repository for my personal blog, a simple static site built using Jekyll and hosted on GitHub pages.

Install

First install Bundler:

gem install bundler

Site dependencies can then be installed using:

bundle install --path vendor/bundle

Finally install dev dependencies from npm:

npm install

Run

To compile the static site run:

gulp site:build

To start a local server:

bundle exec jekyll serve

Test

Once the static site has been generated you can then validate the HTML and all site links by running:

bundle exec htmlproofer ./_site --url-ignore /feed/ --check-html --check-favicon --only-4xx --assume-extension --disable-external

Deploy

To automatically build and deploy the static site to the gh-pages branch:

gulp deploy