infews / workstation_repave

Mostly Ruby based MacOS setup
2 stars 1 forks source link

Workstation Repave

Building a happy MacOS workstation with all the things.

System Ruby, Homebrew, and Homebrew Bundle do the heavy lifting. But there is some lightweight Ruby-based shell scripting as well.

Assumptions

First

  1. Have a clean install of MacOS
  2. Run Terminal
  3. Run the following to bootstrap
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/infews/workstation_repave/main/bin/bootstrap)"

...and watch the prompts

  1. Populate the file ~/.system_name with the name you want for this computer
  2. Run bin/repave to finish (See customization below)

What's Happening?

bin/bootstrap

The bin/bootstrap script will do the following:

bin/repave

The bin/repave script runs the remaining tasks, relying heavily on Homebrew to finish the automatable tasks.

But Really, What's Happening?

How to Customize for You

Yes, you will want to customize this repo.

FAQ

  1. Why not just do this with shell scripts?
    • Because I can never debug shell scripts. So Ruby FTW.
  2. Why not Ansible?
    • Ruby FTW.

Contributing