Code Monkey home page Code Monkey logo

bootstrap-windows's Introduction

bootstrap

Bootstrap has been designed to automate the configuration of your development environment.

Windows 10

Prerequisites

  1. Administrative privileges to your computer.
  2. PowerShell
  3. Credentials to a git-based source code repository system
  4. Internet access

TL;DR

Installation

Download bootstrap

  1. Download and unzip bootstrap-windows.zip
  2. Use Windows File Explorer to unzip bootstrap-windows.zip
  3. cd to/extracted/files

Install Development Tools

  1. Run PowerShell as Administrator
  2. Change directory to the location bootstrap was downloaded and unzipped.
  3. Run install.cmd script.
.\install.cmd

Configure Git and Clone Repositories

  1. A new shell must be started to refresh your path and environment.
  2. Run PowerShell as Administrator
  3. Change directory to the location bootstrap was downloaded and unzipped.
  4. Validate your GitHub credentials with your Browser.
  5. Run clone.cmd script.
.\clone.cmd

Optional Remove Installation

  1. Run a Power Shell as an Administrator.
  2. Change directory to the location bootstrap was downloaded and unzipped.
  3. Run uninstall.cmd shell script.
.\uninstall.cmd

Customize programs and repositories installed and cloned.

With great power comes great responsibility you have been notified!

The installation process downloads and installs development tools using Chocolatey. The command line tool choco is installed and used. install.json is tailored to meet a your specific needs. The json snippet below shows Ruby will be installed.

{
  "ruby": {
    "use": true,
    "name: "ruby.install"
  }
}

File names

install.ps1 installs Ruby when use is true. Ruby is not installed when use is false. This pattern is repeated throughout: install.json

Development tool installation

install.cmd

A command script that runs install.ps1 with the install option.

@echo off
powershell powershell.exe -executionpolicy bypass -file .\install.ps1 install

uninstall.cmd

A command script that runs install.ps1 with the uninstall option.

@echo off
PowerShell powershell.exe -ExecutionPolicy Bypass -File .\install.ps1 uninstall

install.ps1

A PowerShell script that installs or uninstalls programs defined in install.json.

install.json

A JSON file that identifies all development tools installed or uninstalled.

Cloning Repositories and customizing ${HOME}/.gitconfig

clone.cmd

@echo off
PowerShell powershell.exe -ExecutionPolicy Bypass -File .\clone.ps1 install

clone.ps1

A PowerShell script that initialized your $HOME/.gitconfig file, and clones repositories defined in clone.json.

clone.json

At minimum, $HOME/.gitconfig personalization is needed. I'm guessing that you will not want to clone my repositories either.

{
  "gitconfig": {
    "use": true,
    "email": "[email protected]",
    "global": true,
    "user": "Traap"
  },
  "repositories": {
    "use": true,
    "repos": [
      {
        "url": "https://github.com/Traap/amber.git",
        "use": true
      },
      {
        "url": "https://github.com/Traap/check-latex.git",
        "use": true
      },
      {
        "url": "https://github.com/Traap/dotfiles.git",
        "use": true
      },
      {
        "url": "https://github.com/Traap/nvim.git",
        "use": true
      }
    ]
  }
}

You are encouraged to review the visualcode section. The addons are listed alphabetically. These addons are popular for Azure, CSharp, Docker, Git, Json, PowerShell, Ruby, and XML development and testing.

bootstrap-windows's People

Contributors

traap avatar

Watchers

 avatar  avatar  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.