Skip to content

jchacana/bootstrap-workstation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Workstation Bootstrap

This repository contains scripts and templates to bootstrap and manage your macOS developer workstation.

Contents

  • bootstrap.sh → Installs tools, configures shell, and prepares workstation.
  • uninstall.sh → Cleans up installed tools and configs.
  • client-template/ → Standard starter template for new client projects.

Usage

Bootstrap your workstation

git clone [email protected]:<your-org-or-user>/workstation-bootstrap.git ~/dev/setup/workstation-bootstrap
cd ~/dev/setup/workstation-bootstrap
./bootstrap.sh

Create a new client workspace

mkdir -p ~/clients/<client-name>
cp -r ~/dev/setup/workstation-bootstrap/client-template/* ~/clients/<client-name>/
cd ~/clients/<client-name>
direnv allow
asdf install

Then edit ~/clients/<client-name>/.gitconfig with your client identity

Git Configuration

  • Global Git config (~/.gitconfig) Installed by bootstrap.sh. Contains your personal identity, aliases, and global ignore rules. It can include client-specific configs using includeIf

  • Client-specific Git config (~/clients/<client-name>/.gitconfig) Each client folder includes its own .gitconfig. Add an include block to your global config (only once per client):

    [includeIf "gitdir:~/clients/<client-name>/"]
        path = ~/clients/<client-name>/.gitconfig

    This ensures that any repo inside the client folder uses the correct Git identity.

Remove everything (use with caution)

cd ~/dev/setup/workstation-bootstrap
./uninstall.sh

About

Personal repo for setting up a macOS workstation with a base of developer tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors