Giter Site home page Giter Site logo

rafaeldca / devmachinesetup Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mszcool/devmachinesetup

0.0 2.0 0.0 9.18 MB

Used for setting up blank Windows (and in the future Linux) development machines by using package managers such as Chocolatey and PowerShell (or Bash). The goal is to automate the setup process as much as possible.

Shell 20.70% PowerShell 79.30%

devmachinesetup's Introduction

Developer Machine Setup Scripts

I've built this script to help setting up development machines, easier. I use it whenever I setup a new machine, even if it's not for development purposes (but mostly it is). Currently I only have a Windows-version of it, but I am considering a Linux-one as well.

The script is mainly using Chocolatey as a package manager for Windows out of a PowerShell script. It automates the setup process as far as possible, but not entirely. The reason for that is that some installations modify environment variables or even require a re-start. That means the script needs to be started in several phases.

Click here to get to the full documentation on my blog!

First I do install some pre-requisites, typically the following Windows Components:

  • .NET Framework 3.5
  • Hyper-V for virtualization and e.g. phone emulators

After that, I typically perform the following actions on a blank Windows machine:

# Enable Chocolatey and my script execution without being blocked
Set-ExecutionPolicy Unrestricted

# 1st Script Execution - Installing Chocolatey 
.\Install-WindowsMachine.ps1 -installChoco 

# 2nd Script Execution - development environments
# Visual Studio I often install manually as mostly I need the Enterprise Edition
.\Install-WindowsMachine.ps1 -installVs -vsVersion 2015 -installOtherIDE

# 3rd Script Execution - remaining tools I typically use
.\Install-WindowsMachine.ps1 -tools -ittools -dev -data

# 4th Script Execution - Needs opening up a NEW PowerShell Window
#                        Installs Visual Studio Extensions, SDKs etc. that
#                        depend on the previous things being in the path.
#                        Also clonse github-repository I typically use.
.\Install-WindowsMachine.ps1 -dev2 -vsext -vsVersion 2015 -cloneRepos

# 5th Script Execution - Install Database servers (I don't do that on most machines)
.\Install-WindowsMachine.ps1 -dataSrv

There are many thoughts for improving the script. E.g. one I have is putting this all into a PowerShell workflow that can be restarted even after machine reboots from where it stopped before. But that will need some time - and since this is a spare-time project, I don't know when I'll get to it.

Finally - I am accepting pull requests for this, as well. So if you have an idea to improve the overall flow of the script, feel free to get into a pull request.

Happy Installing!!!

devmachinesetup's People

Contributors

mszcool avatar baileye avatar

Watchers

James Cloos avatar Rafael Alencar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.