Tuesday, June 17, 2014

MEAN STACK Setup on Windows

Set up Mean Stack Environment


  • Download node.exe from nodejs.org
  • Download npm-1.4.9.zip from http://nodejs.org/dist/npm/.
  • Explode npm-1.4.9.zip to exploded_npm (say).
  • Move node.exe to exploded_npm.
  • Download Git from http://git-scm.com/downloads and install.
  • Add these entried to your '.gitconfig' file in your user directory (go to %USERPROFILE%):
[http]
    proxy = http://<proxy address>:<proxy port>

[https]
    proxy = https://<proxy address>:<proxy port>
  • Add into the environment variable path
  1.   <GIT_HOME>\Git\bin\
  2.   <NODE_JS_HOME>\npm-1.4.9\
  • open command prompt.
  • run npm.cmd
  • execute command
    > npm config set proxy http://"<username>:<password>"@<proxy address>:<proxy port>
   
  • run command
> mean init mean-tutorial
  • Navigate inside mean-tutorial
> cd mean-tutorial
> npm install

2 comments: