-
Notifications
You must be signed in to change notification settings - Fork 21
Getting Started with Windows
&y edited this page Oct 19, 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
- Choose the defaults EXCEPT:
- 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
- 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
- Navigate to the provision scripts:
cd Heinz95729\provision\windows
- Review the
provision-*
scripts, and comment out any applications that you already have installed - 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
- Open
cmder
from your start menu, and open 2 cmd tabs - In the first one, type
mongod
, to start mongo - In the second one, navigate to
[YOUR PATH HERE]\Heinz95729\node\build
- Install the build dependencies:
npm install
- Install the app dependencies:
grunt install
- Seed the database:
grunt seed
- Run the app:
grunt
- In a browser, navigate to http://localhost:3000/
These instructions assume you already setup the Node.js app, and that you chose to install Visual Studio.
- Download couchbase 2.2.0 64 bit or couchbase 2.2.0 32 bit
- Download Java JVM (i.e. SE Development kit 8)
- Download elasticsearch 1.0.1
- Download the elasticsearch couchbase plugin
- Follow along with the video to install these packages