Giter Site home page Giter Site logo

osx-bootstrap's Introduction

OS X Bootstrap

Script to set up a macOS X for Rails development.

Requirements

macOS X version >= 10.15

Install

Run the setup script which will clone repository to ~/.osx-bootstrap directory and run ~/.osx-bootstrap/modules/* scripts.

bash <(curl -s https://raw.githubusercontent.com/fs/osx-bootstrap/master/bin/setup)

Or you can run each module script one-by-one:

git clone -b master https://github.com/fs/osx-bootstrap.git
~/.osx-bootstrap/modules/osx_defaults.bash

What it sets up

  • OS X Command Line Tools
  • SSH keys
  • Homebrew for managing operating system libraries (OS X only)
  • git source code management system
  • Postgresql for storing relational data
  • Redis for storing key-value data
  • ImageMagick for cropping and resizing images
  • watch for periodically executing a program and displaying the output
  • Z (jump around) for a faster way to navigate your filesystem
  • ssh-copy-id to deliver your public key in a remote machine's authorized_keys
  • Heroku Toolbelt for interacting with the Heroku API
  • tmux for saving project state and switching between projects
  • rbenv for managing versions of the Ruby programming language in the /usr/local/var/rbenv
  • ruby-build for installing Ruby versions
  • Ruby programming language, latest stable version
  • NVM for managing versions of the Node.js
  • Node.js stable for writing JavaScript general-purpose code
  • Software installed with Brew Cask in to /Applications:
    • Google Chrome
    • ChromeDriver
    • GraphiQL
    • iTerm2
    • Java
    • Postman
    • Skype
    • Slack
    • Spectacle
    • Sublime Text 3
    • The Unarchiver
    • Visual Studio Code
    • Zoom
  • Set OS X defaults (faster animation, security settings etc)

Credits

OS X Bootstrap is maintained by Timur Vafin. It was written by Flatstack with the help of our contributors.

osx-bootstrap's People

Contributors

deniszackharov avatar dmitrytrager avatar fs-admin avatar maratfakhreev avatar nicck avatar timurb avatar timurvafin avatar vladimirbazhanov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

osx-bootstrap's Issues

Host terminal app

If I already have iTerm2 and run this script from there, setup will break after osx-defaults steps.
Probably, we should add a note to Readme about this.

Set $HOME as the default location for new Finder windows

# Set $HOME as the default location for new Finder windows
# For other paths, use `PfLo` and `file:///full/path/here/`
defaults write com.apple.finder NewWindowTarget -string "PfDe"
defaults write com.apple.finder NewWindowTargetPath -string "file://${HOME}"

macOS security settings

For now we doesn't have here any tool that can tune up macOS security setting.

'osxlockdown' was removed bacause it not longer maintained and was not able to start at macOS High Sierra when we tested it.

I was thinking about https://github.com/kristovatlas/osx-config-check but it also has last commit over 2 years ago.

So, we are searching for suggestions with this.

sudo password required by caskroom

We need to avoid user prompt requests in the middle of process:

==> We need to make Caskroom for the first time at /opt/homebrew-cask/Caskroom
==> We'll set permissions properly so we won't need sudo in the future
Password:

Dependency on XCode

After first run on clean macOS High Sierra installation scripts says that 'Command Line Tools' must be installed first and exits.

May be we can add installation of 'command line tools' as very first step.

Also, when script installs first of gems with extentions (and run clang compiler) script fails because user must accept XCode license before can use compiler. Because of this user must re-run script after some manual actions with XCode.

install fonts

  • inconsolata LGC (console, sublime)
  • liberation mono (for github)

Installation fails.

/etc/resolver/dev
/Library/LaunchDaemons/cx.pow.firewall.plist
/Users/username/Library/LaunchAgents/cx.pow.powd.plist

Set OS X defaults ...

36:121: execution error: System Events got an error: AppleEvent handler failed. (-10000)

Installation fails.

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.