Skip to content

The Word Press Roots.io child theme for the University of Alabama Libraries

License

Notifications You must be signed in to change notification settings

sjturner-ua/roots-ualib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

roots-ualib

The Word Press Roots.io child theme for the University of Alabama Libraries

Dependencies

Before you being

Please note, these docs are written for developers newer to these types of tools. If the above dependency list looks familiar to you, you can just skim through the instructions below.

It is highly recommended that you work on a locally installed Word Press installation, and only push changes to this repo after your commits are ready for staging/optimization.

Be aware, many of these tools do not have native GUIs and may require use of the command prompt. If you are unfamiliar with your operating system's command prompt or terminal check out these resources before proceeding:

1. Setup your environment

Install Node and required node modules

Node's package manager is called via the npm command. You'll use this command to install tools like Grunt and Bower

  1. Go to the NodeJS website and download their installer (Windows, OS X, or Linux)
  2. Open a command prompt or terminal window
  3. Type npm install -g grunt-cli to install Grunt's command line interface.
  4. Type npm install -g bower to install Bower

Be sure to read Grunt's and Bower's docs to get better acquainted with these tools:

Install a local dev stack

"Local development stacks" are web servers that run from your computer. That way, you can try all types of crazy things safely.

Our stacks will include Apache, PHP, and MySQL

Get familiar with LESS

The theme CSS is generated from LESS files under /assets/css/less/. Any edits to the CSS files themselves will be overwritten after the theme files are built using both the dev and default grunt tasks.

Getting Started

Installing NodeJS

You need Node.js to use the tools that build the CSS and the Styleguide. Download the proper Node.js package from their download page.

After Node.js is installed, then you need to install Grunt.js and Bower. To do so, run the following commands:

npm install -g grunt-cli
npm install -g bower

About

The Word Press Roots.io child theme for the University of Alabama Libraries

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 78.3%
  • CSS 14.3%
  • PHP 5.9%
  • HTML 1.4%
  • Handlebars 0.1%