Download the zipped theme on the releases page.
- Ruby >=1.9 (I use rbenv to manage different Ruby versions)
- Bundler
- Sass
- Bourbon for helpful Sass mixin tools.
- Neat for grid layout.
- Gulp for building/compiling assets and general tasks.
- Clone this repository locally using the Github app or with
git clone https://github.com/ucsc/twentyeleven-ucsc.git
. - Install Ruby Gems:
gem install bundler
bundle install
- Install
node
andnpm
by downloading the installer from nodejs.com. - Install gulp globally:
npm install -g gulp
This configuration makes the following assumptions:
- You have a Wordpress installation in the same directory as this repository (running on your own PHP server setup, such as MAMP or XAMP). Your directory structure should look like this:
your-project-folder/
/twentyeleven-ucsantacruz
/wordpress
- You already have the
twentyeleven
theme installed at:
wordpress/wp-content/themes/twentyeleven
.
When you run gulp
, the theme files will be compiled and added to:
wordpress/wp-content/themes/twentyeleven-ucsantacruz
In a terminal window, run gulp
in the project root to compile the theme files and copy them into the theme directory.
Running gulp build
will compile the twentyeleven-ucsantacruz theme files into a zip archive that you can manually upload to your Wordpress site through the web interface.