It's just me out of curiosity playing around with Visual Studio Code, Chocolatey, Yeoman, DNX, MVC6 and what not.
Trying to do it all without grabbing the mouse. Here we go.
Open CMD
= Ctrl-Shift-C
- Install
Visual Studio Code
- Open folder
Open CMD
-
powershell_ise
- $ Ctrl-N
-
- Issue the following command to install Chocolatey
$policy = Get-ExecutionPolicy -Scope CurrentUser
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
Set-ExecutionPolicy -ExecutionPolicy $policy -Scope CurrentUser
- Press F5 to execute
- Alt-F4 to close powershell
-
exit
to close command prompt
Open CMD
-
cd %AllUsersProfile%\chocolatey
-
choco install node
Open CMD
cmd > @powershell -NoProfile -ExecutionPolicy unrestricted -Command "&{$Branch='dev';$wc=New-Object System.Net.WebClient;$wc.Proxy=[System.Net.WebRequest]::DefaultWebProxy;$wc.Proxy.Credentials=[System.Net.CredentialCache]::DefaultNetworkCredentials;Invoke-Expression ($wc.DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))}"
cmd > dnvm upgrade
Open CMD
-
npm install -g yo grunt-cli generator-aspnet bower
-
yo aspnet
- select you app type and name
-
cd <name_of_your_app>'
-
dnu restore
-
dnu build
-
dnx web
Open CMD
-
"%ProgramFiles%\Internet Explorer\iexplore.exe" http://localhost:5000/
-
exit
Open CMD
-
choco install git.install
-
set path=C:\Program Files\Git\bin;%path%
-
exit
- git init
- git add .
- git commit -m "first commit"
- git remote add origin https://github.com/codepic/vs-code-mvc6-cmd.git
- git push -u origin master