Skip to content

Instantly share code, notes, and snippets.

@brendanjerwin
Last active December 18, 2015 23:48
Show Gist options
  • Save brendanjerwin/f84bbfc1cd64420992c7 to your computer and use it in GitHub Desktop.
Save brendanjerwin/f84bbfc1cd64420992c7 to your computer and use it in GitHub Desktop.
In an elevated cmd shell, run: @PowerShell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://gist.github.com/brendanjerwin/f84bbfc1cd64420992c7/raw/dev_setup.ps1'))"
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
$env:Path +=";" + $env:systemdrive + "\chocolatey\bin"
cwindowsfeatures MSMQ-Server
cinst git.commandline
$env:Path +=";" + $env:systemdrive + "\git\bin"
cinst git-credential-winstore
git config --global core.autocrlf input
git clone https://github.com/tnwinc/grc.git c:\grc
cinst ruby
$env:Path +=";" + $env:systemdrive + "\ruby193\bin"
cinst ruby.devkit
cd c:\grc
gem update --system --no-document
gem install bundler --no-document
bundle install --gemfile GemFileForWindows
cinst Devbox-Common
cinst Devbox-P4Merge
cinst Devbox-GitSettings
cinst VisualStudio2012Professional
cinst Dogtail.VS2012.3
cinst nuget.commandline
cinst resharper
cinst specflow
cinst webpicommandline
cinst aspnetmvc.install
cinst MsSqlServer2012Express
cinst linqpad4
cinst GoogleChrome
cinst Firefox
cinst Devbox-ConEmu
cinst notepadplusplus
cinst WindowsUpdate.DisableAutoRestart
cinst vim
cinst poshgit
cinst fiddler4
cinst curl
cinst Wget
cinst nodejs
cinst javaruntime
rake init:install_certs
rake init:allow_iis_express_443
rake init:install_raven
cd c:\grc\client
bundle install
npm install
cd c:\grc
rake build
rake init:configs
rake test
@driver800
Copy link

error on "npm install" : "The term 'npm' is not recognized as the name of a cmdlet..." can be resolved by adding path to nodejs directory.

$env:Path +=";" + $env:systemdrive + "\Program Files\nodejs"

@driver800
Copy link

note on "cinst nodejs"...

this "should" create a C:\Program Files\nodejs directory with npm in it. If not run ""const nodes.install". Then you can install nom like this:

"C:\Program Files\nodejs\npm" install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment