Skip to content

Developing

elliotttf edited this page Feb 11, 2013 · 1 revision

The Training Wheels vagrant build provides a fully functioning development environment with all the tools you need to build and deploy a Training Wheels controller locally. This document assumes you are running the commands from the vagrant virtual machine, but you can run the commands from your local machine if you have all of the build tools installed.

Building the front-end JavaScript and CSS

Training Wheels uses grunt to manage its build process. Some commands you'll need to know while working with JavaScript or Sass:

  • grunt release - this will compile all of the Sass and JavaScript files to be used in the application. You can run this at any time from any directory under controller/web
  • grunt watch - this will watch the Sass and JavaScript files for changes and automatically recompile their outputs

Clone this wiki locally