Updgrade to High Sierra if needed.
Remove unused items in the Dock, then move the Dock to the left and make it autohide.
Make sure iCloud Drive is configured as it will take a while to sync information.
Start a Terminal window
bash <(curl -s https://raw.githubusercontent.com/dlucian/laptop/master/laptop)
This will take about 15 minutes. See the docs page for more information.
Start GitHub Desktop and sign in. Then, sign into GitHub.com and add a key
ssh-keygen
cat /Users/lucian/.ssh/id_rsa.pub
Copy paste the key into GitHub's SSH Keys (Settings menu).
git clone --recursive https://github.com/dlucian/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
Enable shell:
setopt EXTENDED_GLOB
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
done
Install Consolas font:
$ brew install cabextract
$ cd ~/Downloads
mkdir consolas
cd consolas
curl -O http://download.microsoft.com/download/f/5/a/f5a3df76-d856-4a61-a6bd-722f52a5be26/PowerPointViewer.exe
cabextract PowerPointViewer.exe
cabextract ppviewer.cab
open CONSOLA*.TTF
Open iTerm and configure it. Open Preferences -> Profiles -> Default and:
- Colors: set Solarized Dark color theme
- Text: 17pt Monaco
Install the rest of the applications:
cd ~/.zprezto/modules/laptop && zsh .laptop.local
MacOS settings:
zsh ~/.zprezto/modules/laptop/settings.sh
Manually set up licensing / accounts for:
- 1Password
- Alfred
- DaisyDisk
- CloudApp
Valet documentation: https://laravel.com/docs/5.5/valet
composer global require laravel/valet
subl ~/.zshrc
export PATH=”$HOME/.composer/vendor/bin:$HOME/.bin:$PATH”
brew install mysql
We've installed your MySQL database without a root password. To secure it run:
mysql_secure_installation
MySQL is configured to only allow connections from localhost by default
To connect run:
mysql -uroot
To have launchd start mysql now and restart at login:
brew services start mysql
Or, if you don't want/need a background service you can just run:
mysql.server start
Later updates via:
composer global update
Install Valet:
valet install
Setup sites folder:
mkdir ~/Sites
cd ~/Sites
valet park