Giter Site home page Giter Site logo

bootstrap's Introduction

Bootstrap

Minimal Bootstrap Mike McLean Shell Environment

Background

I store my Shell Init and dotfiles in a ~/.init directory in my home directory. I keep this repository version controlled in Git and stored in a Private Repository on Amazon Web Services (AWS) Code Commit as DotInit.

Purpose

When configuring a new system I need a way to get my ~/.init configuration folder onto it. This minimal Bootstrap project will get a copy of ~/.init onto the target system.

If ~/.init does not exist:

  • If the target system already contains a copy of the DotInit directory as a synchronized copy via Microsoft OneDrive, the script will create ~/.init a symbolic link to that version
  • On a system without a synchronized copy via Microsoft OneDrive this script will execute a git clone from AWS Code Commit to ~/.init. The code to clone from AWS CodeCommit requires the following:
    • curl or wget
    • ssh
    • git (at least version 2.3.0 which supports the GIT_SSH_COMMAND environment variable)
    • A copy of my main SSH private key id.mike.mclean, placed on the system manually. The script will ask for the path to this file as input
    • A running ssh-agent, enforced by the recommended run commands below

Usage

On a new target system execute:

ssh-agent bash <(curl --noproxy "*" -fsSL https://raw.githubusercontent.com/SkydiveMike/bootstrap/master/bootstrap.sh)

Or:

ssh-agent bash <(wget --no-proxy -qO-  https://raw.githubusercontent.com/SkydiveMike/bootstrap/master/bootstrap.sh)

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.