👢 Bootstrap your macOS development system.
A script to bootstrap a minimal macOS development system. This does not assume you're doing Ruby/Rails/web development but installs the minimal set of software every macOS developer will want.
Replacing Boxen in GitHub with a better tool. This post outlines the problems with Boxen and requirements for Strap and other tools used by GitHub: https://mikemcquaid.com/2016/06/15/replacing-boxen/
sudo
using TouchIDFound this computer?
message to the login screen (for machine recovery)bundler
-like Brewfile
support)https://github.com/username/dotfiles
repository. If they exist and are executable: runs script/setup
to configure the dotfiles and script/strap-after-setup
after setting up everything else.Brewfile
in their https://github.com/username/homebrew-brewfile
repository or .Brewfile
in their home directory.Brewfile
s in project repositories instead of mandating formulae for the whole organisation)Open https://strap.mikemcquaid.com/ in your web browser.
Instead, to run Strap locally run:
git clone https://github.com/MikeMcQuaid/strap
cd strap
bash bin/strap.sh # or bash bin/strap.sh --debug for more debugging output
Instead, to run the web application locally run:
git clone https://github.com/MikeMcQuaid/strap
cd strap
./script/bootstrap
GITHUB_KEY="..." GITHUB_SECRET="..." ./script/server
Strap is also available as a Docker image on Docker Hub (mikemcquaid/strap
) and GitHub Packages (ghcr.io/mikemcquaid/strap
).
GITHUB_KEY
: the GitHub.com Application Client ID.GITHUB_SECRET
: the GitHub.com Application Client Secret.SESSION_SECRET
: the secret used for cookie session storage.WEB_CONCURRENCY
: the number of Puma (web server) threads to run (defaults to 3).STRAP_ISSUES_URL
: the URL where users should file issues (defaults to no URL).STRAP_BEFORE_INSTALL
: instructions displayed in the web application for users to follow before installing Strap (wrapped in <li>
tags).CUSTOM_HOMEBREW_TAP
: an optional Homebrew tap to install with brew tap
. Specify multiple arguments to brew tap by separating values with spaces.CUSTOM_BREW_COMMAND
: a single brew
command that is run after all other stages have completed.Stable and in active development.
Licensed under the MIT License. The full license text is available in LICENSE.txt.