Skip to content

Commit 6135b0c

Browse files
authored
Merge pull request #1 from Microsoft/yodurrdev
initial commit
2 parents 52554ef + cdd85ea commit 6135b0c

File tree

4 files changed

+144
-1
lines changed

4 files changed

+144
-1
lines changed

README.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,34 @@
11

2-
# Contributing
2+
# About this project
3+
This project contains sample scripts and tips for setting up a Windows development machine.
4+
5+
These scripts leverage two popular projects
6+
- Boxstarter [boxstarter.org](http://boxstarter.org)
7+
- Chocolatey [chocolatey.org](http://chocolatey.org)
8+
9+
This project exists because we noticed scripts and tips showing up in different open source projects and thought it would be useful to have a central place for collaborating on setup scripts.
10+
11+
The goal here is to provide a central place to share ideas for streamlining dev box setup and give you starting point ideas. It's likely you will want to take scripts here and modify them to fit your particular needs. When you make those changes if you think others would benefit please consider submitting a PR here. Before you contribute please see the contribution guidelines.
12+
13+
## Script naming convention
14+
The "dev_" scripts are named according to developer scenario.
315

16+
## How to run the scripts
17+
Links will be provided here in the readme<br/>
18+
Click the link and you'll see a prompt for boxstarter click once. CLick yes and the system setup will begin!
19+
20+
An example to try is click this should work for the dev_web script:<br/>
21+
http://boxstarter.org/package/nr/url?https://raw.githubusercontent.com/Microsoft/windows-dev-box-setup-scripts/yodurrdev/dev_web.ps1?token=AK0OHm6nRJ0LtaB1wIFSqTAaqf4WiuuZks5a2uyewA%3D%3D
22+
23+
## Working with Enterprise Chocolatey?
24+
No problem, you can still use this scripts. Before you do you'll need to modify the package source to match your enterprise package store. Here are instructions for doing so.
25+
26+
## Setting up a VM
27+
Windows 10 VM setup instructions
28+
1. Insert Quick create steps here
29+
2. Include steps once signed in to your VM
30+
31+
# Contributing
432
This project welcomes contributions and suggestions. Most contributions require you to agree to a
533
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
634
the rights to use your contribution. For details, visit https://cla.microsoft.com.

dev_app.ps1

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Description: Boxstarter Script
2+
# Author: Microsoft
3+
4+
Disable-UAC
5+
6+
#--- Windows Features ---
7+
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
8+
9+
#--- File Explorer Settings ---
10+
Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name NavPaneExpandToCurrentFolder -Value 1
11+
Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name NavPaneShowAllFolders -Value 1
12+
Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -Value 1
13+
Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name MMTaskbarMode -Value 2
14+
15+
#--- Windows Subsystems/Features ---
16+
choco install Microsoft-Hyper-V-All -source windowsFeatures
17+
choco install Microsoft-Windows-Subsystem-Linux -source windowsfeatures
18+
19+
#--- Tools ---
20+
choco install visualstudio2017community -y # See this for install args: https://chocolatey.org/packages/VisualStudio2017Community
21+
choco install sysinternals -y
22+
choco install docker-for-windows
23+
24+
Enable-UAC
25+
Enable-MicrosoftUpdate
26+
Install-WindowsUpdate -acceptEula

dev_web.ps1

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Description: Boxstarter Script
2+
# Author: Microsoft
3+
# Common dev settings
4+
5+
Disable-UAC
6+
7+
#--- Windows Features ---
8+
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
9+
10+
#--- File Explorer Settings ---
11+
Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name NavPaneExpandToCurrentFolder -Value 1
12+
Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name NavPaneShowAllFolders -Value 1
13+
Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -Value 1
14+
Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name MMTaskbarMode -Value 2
15+
16+
#--- Tools ---
17+
choco install visualstudiocode -y
18+
choco install git -params '"/GitAndUnixToolsOnPath /WindowsTerminal"' -y
19+
choco install Git-Credential-Manager-for-Windows
20+
choco install 7zip.install
21+
22+
#--- Windows Subsystems/Features ---
23+
choco install Microsoft-Hyper-V-All -source windowsFeatures
24+
choco install Microsoft-Windows-Subsystem-Linux -source windowsfeatures
25+
26+
#--- Browsers ---
27+
choco install googlechrome -y
28+
choco install firefox -y
29+
30+
#--- Fonts ---
31+
choco install inconsolata -y
32+
choco install ubuntu.font -y
33+
34+
#--- Tools ---
35+
choco install sysinternals -y
36+
choco install docker-for-windows
37+
choco install python
38+
choco install pip
39+
choco install easy.install
40+
41+
Enable-UAC
42+
Enable-MicrosoftUpdate
43+
Install-WindowsUpdate -acceptEula

dev_web_nodejs.ps1

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Description: Boxstarter Script
2+
# Author: Microsoft
3+
# Common dev settings for web development
4+
5+
Disable-UAC
6+
7+
#--- Windows Features ---
8+
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
9+
10+
#--- File Explorer Settings ---
11+
Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name NavPaneExpandToCurrentFolder -Value 1
12+
Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name NavPaneShowAllFolders -Value 1
13+
Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -Value 1
14+
Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name MMTaskbarMode -Value 2
15+
16+
#--- Tools ---
17+
choco install visualstudiocode -y
18+
choco install git -params '"/GitAndUnixToolsOnPath /WindowsTerminal"' -y
19+
choco install Git-Credential-Manager-for-Windows -y
20+
choco install 7zip.install -y
21+
22+
#--- Windows Subsystems/Features ---
23+
choco install Microsoft-Hyper-V-All -source windowsFeatures
24+
choco install Microsoft-Windows-Subsystem-Linux -source windowsfeatures
25+
26+
#--- Browsers ---
27+
choco install Firefox -y
28+
choco install Googlechrome -y
29+
30+
#--- Fonts ---
31+
choco install inconsolata -y
32+
choco install ubuntu.font -y
33+
34+
#--- Tools ---
35+
choco install nodejs -y
36+
choco install sysinternals -y
37+
choco install docker-for-windows
38+
choco install python
39+
choco install python2 # should we remove earlier python?
40+
choco install pip
41+
choco install easy.install
42+
43+
Enable-UAC
44+
Enable-MicrosoftUpdate
45+
Install-WindowsUpdate -acceptEula
46+

0 commit comments

Comments
 (0)