{"id":13611596,"url":"https://github.com/todd-dsm/mac-ops","last_synced_at":"2025-04-13T04:35:01.280Z","repository":{"id":150990953,"uuid":"78484946","full_name":"todd-dsm/mac-ops","owner":"todd-dsm","description":"QnD Automation to build a MacBook Pro for DevOps","archived":false,"fork":false,"pushed_at":"2024-05-21T01:56:08.000Z","size":244,"stargazers_count":11,"open_issues_count":56,"forks_count":7,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-21T03:10:22.125Z","etag":null,"topics":["customizable","devops","devops-tools","macbook-configuration","macbook-setup","macos","sre"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/todd-dsm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-10T01:19:30.000Z","updated_at":"2024-05-30T03:51:06.861Z","dependencies_parsed_at":"2024-03-18T00:31:04.184Z","dependency_job_id":"4e006248-213a-48d3-aaac-dd67157549e5","html_url":"https://github.com/todd-dsm/mac-ops","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/todd-dsm%2Fmac-ops","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/todd-dsm%2Fmac-ops/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/todd-dsm%2Fmac-ops/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/todd-dsm%2Fmac-ops/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/todd-dsm","download_url":"https://codeload.github.com/todd-dsm/mac-ops/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248665157,"owners_count":21142118,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["customizable","devops","devops-tools","macbook-configuration","macbook-setup","macos","sre"],"created_at":"2024-08-01T19:01:58.539Z","updated_at":"2025-04-13T04:35:01.025Z","avatar_url":"https://github.com/todd-dsm.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# mac-ops - Big Sur\n\nBefore you can build anything, you first need the tools. Herein lies automation to build a great (opinionated) MBP with a base configuration to support **_Systems Engineering_** (SRE/DevOps) work.\n\nThis always needs refactoring but it's still better than starting from scratch. If you find value in it, please feel free to fork/use it.\n\n***\n\n# Attention! This may not be for you.\n\n## Documentation\n\nBefore jumping in, you should probably check the docs in the [wiki] first.\n\nIf this is your _personal_ laptop that also serves as your work machine, a backup procedure is strongly recommended; check the [rsync-backups] page. The restore process in the `bootstrap.sh` script relies on a consistent backup. If this is a new `macOS` laptop/install for work, you can safely skip the `rsync` step.\n\n***\n\n## Pre-Game\n\nMake sure the ssh keys associated with your GitHub account work as expected:\n\n```shell\n% ssh -T git@github.com\nHi yourUserName! You've successfully authenticated, but GitHub does not provide shell access.\n```\n\nClone the repo down to your laptop:\n\n`git clone git@github.com:todd-dsm/mac-ops.git \u0026\u0026 cd mac-ops/`\n\n### CONFIGURE _YOUR_ VARIABLES\n\n`vi my-vars.env`\n\n***\n\nAssuming this is a fresh macOS, run the [install prep] script to:\n* Get the latest OS Updates\n* Configure `sudo` _properly_\n* Installs include: \n  * Homebrew\n    * The Xcode CLI Tools are installed as a dependency\n  * The GNU variants of common programs (`sed`, `bash`, `find`, `awk`, etc.) \n    * Configures the system to \n      * favor the GNU programs.\n      * display man pages for these programs\n* Afterwards, the install log is saved with some other app-related details.\n\n```shell\ntools/install-prep.sh 2\u003e\u00261 | tee /tmp/install-prep.out\n```\n\nWhen it's all over, you will see something like:\n\n```shell\n         __                                     __   \n  ____  / /_     ____ ___  __  __   ____  _____/ /_  \n / __ \\/ __ \\   / __ `__ \\/ / / /  /_  / / ___/ __ \\ \n/ /_/ / / / /  / / / / / / /_/ /    / /_(__  ) / / / \n\\____/_/ /_/  /_/ /_/ /_/\\__, /    /___/____/_/ /_/  \n                        /____/                       ....is now installed!\n```\n\nTo back out of the new Oh My ZSH shell just press: `CTRL+d`\n\nThe messages should advise you to reboot. \n\n***\n\n## Kick-off\n\nOnce you're all backed-up, auto-magically configure the new macOS. \n\nKick off the script: (`~32` minutes to complete)\n\n`./bootstrap.sh TEST 2\u003e\u00261 | tee ~/.config/admin/logs/mac-ops-config.out`\n\n*NOTE: remove the argument `TEST` to go live.*\n\n***\n\n## Post-Game\n\n* Import your Terminal profile, if you have one.\n* Finish any outstanding System Preferences configurations.\n* Close all of your windows.\n* Reboot the system\n\nThen you're ready to start working.\n\n[phase1]:https://github.com/todd-dsm/process-ph1\n[install prep]:https://github.com/todd-dsm/mac-ops/wiki/Install-Prep\n[wiki]:https://github.com/todd-dsm/mac-ops/wiki\n[rsync-backups]:https://github.com/todd-dsm/rsync-backups\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftodd-dsm%2Fmac-ops","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftodd-dsm%2Fmac-ops","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftodd-dsm%2Fmac-ops/lists"}