-
- App store
-
defaults write com.apple.finder AppleShowAllFiles YES
-
OPTION + right click finder -> relaunch
-
brew install git
git config --global user.name "mattmcfad"
git config --global user.email "mmcfadyen91@gmail.com"
- generate ssh key
- add to github
-
brew install fish
- Add the fish shell /usr/local/bin/fish to /etc/shells with:
echo /usr/local/bin/fish | sudo tee -a /etc/shells
- Change your default shell to fish with:
chsh -s /usr/local/bin/fish
- Install oh-my-fish
curl -L https://get.oh-my.fish | fish
- Install RVM
curl -L https://get.rvm.io | bash -s stable
- Install omf packages
omf install nvm
omf install rvm
omf install bobthefish
omf theme bobthefish
- Add custom functions to
~/.config/fish/functions
- install fonts:
- Set font in iTerm2 to a downloaded powerline font
-
brew install mongodb
sudo mkdir -p /data/db
-
- terminal 1:
mongod --port 27017 --dbpath /data/db
- terminal 2:
mongo
use whatever-local
-
db.createUser( { user: "dev", pwd: "abcd1234", roles: [ { role: "userAdminAnyDatabase", db: "admin" },{role: "readWrite", db: "whatever-local"} ] } )
- terminal 1:
mongod --auth --port 27017 --dbpath /data/db
- terminal 2:
mongo
use whatever-local
db.auth("dev","abcd1234")
brew services start mongodb
brew services stop mongodb
- terminal 1: