My blog - robinwinslow.co.uk
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
2011
2012
2013
2014
2015
2016
_assets/stylesheets
_deploy-configs
_drafts
_includes
_layouts
_posts
categories
css
dev
js
page
post
tagged
.gitignore
404.html
410.html
CNAME
Dockerfile
Gemfile
Gemfile.lock
LICENSE.md
README.md
_config.yml
apple-touch-icon.png
back-end.html
categories.html
dev.html
favicon.ico
front-end.html
index.html
musings.html
politics.html
postsbytag.html
public-domain.txt
publish.sh
robots.txt
rss-canonical.xml
rss-dev.xml
rss.xml
sitemap.xml

README.md

robin | blog

This is all the code behind my blog.

It uses Jekyll static site generator, and is hosted as a Heroku app.

Running the site locally

Install dependencies

$ sudo apt-get install ruby-dev # Install Ruby and Gems
$ gem install bundler           # Install bundler
$ bundle install                # Install project dependencies

Build the site (do this whenever something changes)

$ bundle exec rake              # Build the static site

Run the site

$ bundle exec rackup -p 9254    # Run the server

Now browse to 127.0.0.1:9254.

Publishing to robinwinslow.uk

rm -rf _site
git submodule update --init
cd _site
git add -A .
git commit -m 'Some changes'
git push # Publish!