diff options
author | Thomas Park <thomas@thomaspark.me> | 2014-08-01 11:29:58 -0400 |
---|---|---|
committer | Thomas Park <thomas@thomaspark.me> | 2014-08-01 11:29:58 -0400 |
commit | 2fe8fed718f0b10bfc62ae09bb51f70fc7ddd4e9 (patch) | |
tree | f70d9e787e4bfe324cc849f270c8f7c5553b0206 /help | |
parent | 6bda0ec064c3d498024954c9f3cea78bf69b7629 (diff) |
add grunt server and grunt watch, closes #284
Diffstat (limited to 'help')
-rw-r--r-- | help/index.html | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/help/index.html b/help/index.html index 25361bb7..d12e6c4c 100644 --- a/help/index.html +++ b/help/index.html @@ -106,11 +106,12 @@ <h1 id="customization">Customization</h1> <p>To modify a theme or create your own, follow the steps below in your terminal. You'll need to have <a href="https://help.github.com/articles/set-up-git" target="_blank">Git</a> and <a href="http://nodejs.org/" target="_blank">Node</a> installed.</p> <ol> - <li><p><code>git clone https://github.com/thomaspark/bootswatch.git</code></p></li> - <li><p><code>npm install</code></p></li> - <li><p>Edit <code>variables.less</code> and <code>bootswatch.less</code> in one of the theme directories, or create your own in <code>/custom</code>.</p></li> - <li><p>Type <code>grunt swatch:[theme]</code> to build the CSS for a theme, e.g., <code>grunt swatch:amelia</code> for Amelia. Or type <code>grunt swatch</code> to build them all at once. To have <code>grunt</code> available in the command line, install <code>grunt-cli</code> as described on the <a href="http://gruntjs.com/getting-started">Grunt Getting Started page</a>.</p></li> - <li><p>You can also run <code>grunt watch</code> to watch for any changes to the LESS files and automatically build a theme on change.</p></li> + <li><p>Download the repository: <code>git clone https://github.com/thomaspark/bootswatch.git</code></p></li> + <li><p>Install dependencies: <code>npm install</code></p></li> + <li><p>Make sure that you have <code>grunt</code> available in the command line. You can install <code>grunt-cli</code> as described on the <a href="http://gruntjs.com/getting-started">Grunt Getting Started page</a>.</p></li> + <li><p>Modify <code>variables.less</code> and <code>bootswatch.less</code> in one of the theme directories, or create your own in <code>/custom</code>.</p></li> + <li><p>Type <code>grunt swatch:[theme]</code> to build the CSS for a theme, e.g., <code>grunt swatch:amelia</code> for Amelia. Or type <code>grunt swatch</code> to build them all at once. </p></li> + <li><p>You can run <code>grunt</code> to start a server, watch for any changes to the LESS files, and automatically build a theme and reload it on change. Run <code>grunt server</code> for just the server, and <code>grunt watch</code> for just the watcher.</p></li> </ol> <p>Here are additional tips for <a href="http://www.smashingmagazine.com/2013/03/12/customizing-bootstrap/" target="_blank">customizing Bootstrap</a>.</p> </div> |