Skip to content

michaelhvisser/config

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Config

Config is a basic checklist I follow to set up a new Mac's development environment. It gets me up to speed with Git, Ruby, GitHub, Jekyll, and more so I can more quickly get back to coding.

It also includes a lightweight list of the applications I depend on to survive a day of computer use.

Checklist

Secure Git(Hub) access

Setup VSCode

Download VSCode Install Python Tools

Setup Ruby

  • Install rbenv via Homebrew: brew install rbenv.
  • Download a version of Ruby via rbenv (e.g., rbenv install 2.2.3). See https://gorails.com/setup/osx/10.11-el-capitan.
  • Make it the global version of Ruby: rbenv global 2.2.3.
  • Run rbenv init add the following to ~/.zshrc: eval "$(rbenv init -)"

Installing and managing Ruby with rbenv allows us to specify versions of Ruby on a per-project basis. It also means we can avoid running sudo commands for installing gems and more as it's not affecting OS X's system Ruby.

Setup Python

  • Install python3 via Homebrew: brew install python3.

Setup PHP | Laravel

Additional dependencies

The following is a list of apps lightly categorized that that I've found useful over the last 10 years using a mac.

NVM

  • Install NVM (Node Version Manager)

Docker

Communication

Personal

Productivity

Developer

Terminal

  • Homebrew (/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)")

  • mysql brew install mysql

  • postgres brew install postgres

  • yarn brew install yarn

  • ansible brew install ansible

  • Installing ZSH (and the best add ons) Change shell to zsh chsh -s /bin/zsh

    Restart terminal, this will make the shell change take effect. To make sure you are running the right shell you can run the command: echo “$SHELL” It should now say /bin/zsh

    Install Oh My Zsh sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

    Restart terminal Install Spaceship (and plugins)

    git clone https://github.com/denysdovhan/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt"

    ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"

    git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

    git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

    Once you have those all ran, you will need to edit the .zshrc (located in ~/.zshrc) Feel free to nano it up.

    Change: ZSH_THEME:”spaceship”

    plugins:(zsh-autosuggestions zsh-syntax-highlighting) For the plugins, if there is already one there (I believe git will be there) just add a space and add the next one.

    Save .zshrc and then restart your terminal!

    Optional Font: FiraCode is that amazing font I showed you. Here is the download link: Download v1.207 You can just install this on your Mac, then change the font your terminal uses in its preferences.

  • Create Scripts Folder

  • Add folder to $PATH via ~/.zshrc export PATH=$PATH:/usr/local/share/scripts

Database Management

About

Config is a basic checklist I follow to set up a new Mac's development environment. It gets me up to speed with Git, Ruby, GitHub, Jekyll, and more so I can more quickly get back to coding.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • HTML 72.2%
  • Shell 27.8%