Skip to content

Getting Started with Windows

&y edited this page Oct 17, 2015 · 28 revisions
  1. Install Node.js
  2. Install Git for Windows
    • Choose the defaults EXCEPT:
      • Choose to use a TrueType font in all Windows console
      • choose to "use Git from the Windows Command Prompt", otherwise the provision scripts will fail.
      • choose to use the Windows default console
  3. Run powershell as an Administrator (Start, type, "powershell", right-click, "run as administrator")
  4. Navigate to a directory where you want to clone the project (i.e. D:, mkdir dev, cd dev).
  5. Clone the repo: git clone https://github.com/losandes/Heinz95729.git
  6. Navigate to the provision scripts: cd Heinz95729\build\provision\windows
  7. Review the provision-* scripts, and comment out any applications that you already have installed
  8. Make sure your powershell execution policy allows running scripts (a) $currentPolicy = Get-ExecutionPolicy (b) echo $currentPolicy (c) Set-ExecutionPolicy RemoteSigned (d) When you're done with the rest of the steps in this tutorial, you can reset your execution policy (which is probably: restricted): Set-ExecutionPolicy $currentPolicy
  9. Execute the first provision script: ./provision-1
  10. Run Powershell as Administrator
  11. Navigate to the directory where "provision-2.ps1" is
  12. Execute the second provision script: ./provision-2
  13. Execute the third provision script: ./provision-3
  14. Answer Y(es) to install the default dnvm runtime
  15. Navigate to /build: cd ../../
  16. Install the build dependencies: npm install
  17. Run the app: grunt