]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
add more foundation-cli install instructions for windows user 11458/head
authorSassNinja <kai.falkowski@gmail.com>
Fri, 17 Aug 2018 10:26:24 +0000 (12:26 +0200)
committerSassNinja <kai.falkowski@gmail.com>
Fri, 17 Aug 2018 10:26:24 +0000 (12:26 +0200)
docs/pages/installation.md

index 0507335ebfdcca1aee635687b6bcf08da68ad77c..e684367fea46ab3e54a166ed25fcbf6873c9daad 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