Skip to content
/ greig Public

Refreshingly honest advice for graphic designers & other creative types

Notifications You must be signed in to change notification settings

j-greig/greig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

greig.cc

Refreshingly honest advice for graphic designers & other creative types, from designer James Greig.

A Jekyll-powered website, built with the Tachyons CSS toolkit.

Requirements

OSX or macOS Homebrew

Getting started

Install Jekyll sudo gem install jekyll

Check rubygems is in your paths sudo nano /etc/paths

Install Ruby We're going to use rbenv to install and manage our Ruby versions.

Run the following commands in your Terminal, starting with...

brew install rbenv ruby-build

Add rbenv to bash so that it loads every time you open a terminal

echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bash_profile source ~/.bash_profile

Install Ruby

rbenv install 2.5.0 rbenv global 2.5.0 ruby -v

Install bundle (to manage your gems)

gem install bundler

Install gems

bundle install

Help installing Jekyll on Mac See https://spinalhdl.github.io/SpinalDoc/mydoc_install_jekyll_on_mac/ for pointers. Use bundle env to check your local environment


Basic usage

Start Jekyll and watch for changes (jekyll serve --watch) LIKE THIS bundle exec jekyll serve

Open http://localhost:4000/ in your browser


Purify CSS

Requirements

Purify the CSS gulp purify-css

If you have permission problems installing Ruby gems, use the --user-install option gem install livereload --user-install

This works in the CLI (?) purifycss assets/style.css _site/**/*.html -m -o "style-purified.css

About

Refreshingly honest advice for graphic designers & other creative types

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published