]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Use pull request #11458 from SassNinja/docs/foundation-cli for v6.5.0
authorSassNinja <kai.falkowski@gmail.com>
Sat, 25 Aug 2018 20:34:53 +0000 (22:34 +0200)
committerNicolas Coden <nicolas@ncoden.fr>
Sat, 25 Aug 2018 20:34:53 +0000 (22:34 +0200)
be886fb2f add more foundation-cli install instructions for windows user

Signed-off-by: Nicolas Coden <nicolas@ncoden.fr>
docs/pages/installation.md

index 510049598e65574a92974dbe73173555dd0e8bbe..238c588bb070572e4c9c5e5ccbb1708432e8cdd3 100644 (file)
@@ -185,6 +185,17 @@ After you selected "Foundation for Sites", Foundation CLI will ask you which tem
   <p>To remove the Foundation 5 CLI, run <code>gem uninstall foundation</code>. After testing the Foundation 6 CLI, if you want to remove it to go back to the old CLI, run <code>npm uninstall foundation-cli --global</code>.</p>
 </div>
 
+<div class="callout info">
+  <p><strong>Windows users</strong>: make sure you've python v2.7 available in your node environment since it's required by the node-gyp tool. There are two way to achieve this</p>
+
+  <ol>
+    <li>Install the <a href="https://github.com/felixrieseberg/windows-build-tools">windows-build-tools</a> (recommended) and make python afterwards accessible via <code>npm config set python "%USERPROFILE%\.windows-build-tools\python27\python.exe"</code></li>
+    <li>Install <a href="https://www.python.org/downloads/">python</a> (not recommended) and add it to your system environment variables</li>
+  </ol>
+  <p>The first way is recommended if you've not installed pythong v2.7 yet as it doesn't affect your machine outside the node environment. In case you've already installed python v2.7 you may of course skip both ways and start using foundationc-cli immediately.</p>
+</div>
+
 ---
 
 ## Download