Skip to content

Getting Started with Windows

&y edited this page Oct 17, 2015 · 28 revisions
  • Install Node.js
  • 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
  • Run powershell as an Administrator (Start, type, "powershell", right-click, "run as administrator")
  • Navigate to a directory where you want to clone the project (i.e. D:, mkdir dev, cd dev).
  • Clone the repo: git clone https://github.com/losandes/Heinz95729.git
  • Navigate to the provision scripts: cd Heinz95729\build\provision\windows
  • Review the provision-* scripts, and comment out any applications that you already have installed
  • Make sure your powershell execution policy allows running scripts
    • $currentPolicy = Get-ExecutionPolicy
    • echo $currentPolicy
    • Set-ExecutionPolicy RemoteSigned
    • 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
  • Execute the first provision script: ./provision-1
  • Run Powershell as Administrator
  • Navigate to the directory where "provision-2.ps1" is
  • Execute the second provision script: ./provision-2
  • Run Powershell as Administrator
  • Execute the third provision script: ./provision-3
  • Answer Y(es) to install the default dnvm runtime
  • Open cmder from your start menu
  • Navigate to [YOUR PATH HERE]\Heinz95729\build
  • Install the build dependencies: npm install
  • Run the app: grunt
  • In a browser, navigate to http://localhost:5000/