]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
clarify npm install command in less docs
authorMark Otto <markotto@twitter.com>
Sat, 11 Feb 2012 07:37:54 +0000 (23:37 -0800)
committerMark Otto <markotto@twitter.com>
Sat, 11 Feb 2012 07:37:54 +0000 (23:37 -0800)
docs/assets/bootstrap.zip
docs/less.html
docs/templates/pages/less.mustache

index 416ee8766fffb31c46fc5a462f1001846d64a7c8..382cbcef4355395454f904fa7c19f3ed612e510d 100644 (file)
Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ
index 92b9099f5fa84f4ef6f7b31684888ae0c10c96d2..9f7df3ec981ca349ce3e1c13e15a58d7979489da 100644 (file)
   <div class="row">
     <div class="span4">
       <h3>Node with makefile</h3>
-      <p>Install the LESS command line compiler with npm by running the following command:</p>
-      <pre>$ npm install less</pre>
+      <p>Install the LESS command line compiler globally with npm by running the following command:</p>
+      <pre>$ npm install -g less</pre>
       <p>Once installed just run <code>make</code> from the root of your bootstrap directory and you're all set.</p>
       <p>Additionally, if you have <a href="https://github.com/mynyml/watchr">watchr</a> installed, you may run <code>make watch</code> to have bootstrap automatically rebuilt every time you edit a file in the bootstrap lib (this isn't required, just a convenience method).</p>
     </div><!-- /span4 -->
index b431106acc81d43e664ad7dabb01d127adaa8dd4..fe0a6eb84e0bc69b562fce4c9bf0d085c8f7f51d 100644 (file)
   <div class="row">
     <div class="span4">
       <h3>{{_i}}Node with makefile{{/i}}</h3>
-      <p>{{_i}}Install the LESS command line compiler with npm by running the following command:{{/i}}</p>
-      <pre>$ npm install less</pre>
+      <p>{{_i}}Install the LESS command line compiler globally with npm by running the following command:{{/i}}</p>
+      <pre>$ npm install -g less</pre>
       <p>{{_i}}Once installed just run <code>make</code> from the root of your bootstrap directory and you're all set.{{/i}}</p>
       <p>{{_i}}Additionally, if you have <a href="https://github.com/mynyml/watchr">watchr</a> installed, you may run <code>make watch</code> to have bootstrap automatically rebuilt every time you edit a file in the bootstrap lib (this isn't required, just a convenience method).{{/i}}</p>
     </div><!-- /span4 -->