ucsc / twentyeleven-ucsantacruz

Child theme for Twenty Eleven based on colors and typefaces of UCSC official web templates.
0 stars 0 forks source link

Download the zipped theme on the releases page.

Dependencies

Ruby and gems

Node and npm

Setup

  1. Clone this repository locally using the Github app or with git clone https://github.com/ucsc/twentyeleven-ucsc.git.
  2. Install Ruby Gems:
    • gem install bundler
    • bundle install
  3. Install node and npm by downloading the installer from nodejs.com.
  4. Install gulp globally: npm install -g gulp

Development configuration

This configuration makes the following assumptions:

your-project-folder/
    /twentyeleven-ucsantacruz
    /wordpress

When you run gulp, the theme files will be compiled and added to:
wordpress/wp-content/themes/twentyeleven-ucsantacruz

Development

In a terminal window, run gulp in the project root to compile the theme files and copy them into the theme directory.

Deployment

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.