Skip to content

Instantly share code, notes, and snippets.

@bradonomics
Last active May 3, 2016 08:26
Show Gist options
  • Select an option

  • Save bradonomics/174b93261ffb287a390d408ac2128ec0 to your computer and use it in GitHub Desktop.

Select an option

Save bradonomics/174b93261ffb287a390d408ac2128ec0 to your computer and use it in GitHub Desktop.
Installation script for Jekyll Boilerplate (or how to start a Jekyll theme). See github.com/bradonomics/jekyll-boilerplate#readme for instructions.
#!/bin/bash
# Download boilerplate files
wget https://github.com/bradonomics/jekyll-boilerplate/archive/master.tar.gz
# Unzip
tar zxf master.tar.gz
cd jekyll-boilerplate-master
cp -rpf * ../
cp -rpf .[^.]* ../ # moves .gitignore
cd ../
rm -rf jekyll-boilerplate-master/
rm -f master.tar.gz
# Download latest normalize CSS file, rename it, and move it into _sass directory
wget https://raw.githubusercontent.com/necolas/normalize.css/master/normalize.css
mv -f normalize.css _sass/normalize.scss
# Install gulp
npm init
npm install --save-dev gulp gulp-shell browser-sync
# Delete install script
rm install.sh
# Output note about installing git
echo "Everything should now be setup and ready for you to start your new Jekyll theme. You'll probably want to setup git before you start working. To do so, setup a new repository at GitHub, BitBucket, or elsewhere, then run 'git init' in this directory. You'll then need to add your orign. This link can help: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment