-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathworkstation.sh
More file actions
executable file
·69 lines (52 loc) · 1.86 KB
/
workstation.sh
File metadata and controls
executable file
·69 lines (52 loc) · 1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#!/usr/bin/env bash -e
# Install Homebrew
if ! [ $(which brew) ]
then
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
brew cask install caskroom/versions/java8
brew install git yarn gradle tree kryptco/tap/kr git-duet/tap/git-duet bash-completion
brew install mysql mailhog rabbitmq
brew services start mysql
brew services start mailhog
brew services start rabbitmq
cat >> ~/.bash_profile <<EOF
# git duet
export GIT_DUET_ROTATE_AUTHOR=1
# bash completion
[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion
EOF
brew cask install 1password flycut google-chrome intellij-idea iterm2 shiftit syncthing-bar cyberduck tunnelblick google-cloud-sdk visual-studio-code docker
pushd /Applications > /dev/null
open ShiftIt.app/
open Flycut.app/
open Docker.app/
open Tunnelblick.app/
open 1Password\ 6.app/
popd > /dev/null
# iTerm theme
pushd /tmp > /dev/null
curl -s -L -J -O "https://rawgit.com/mbadolato/iTerm2-Color-Schemes/master/schemes/SpaceGray Eighties.itermcolors"
open "SpaceGray Eighties.itermcolors"
popd > /dev/null
git config --global push.default simple
git config --global user.name "Leonhardt Koepsell"
git config --global user.email "leonhardt@koepsell.io"
mkdir -p ~/workspace
mkdir -p ~/.ssh
chmod 700 ~/.ssh
touch ~/.ssh/authorized_keys
chmod 644 ~/.ssh/authorized_keys
defaults write com.apple.finder ShowStatusBar -bool true
defaults write com.apple.finder ShowPathbar -bool true
defaults write com.apple.finder FXPreferredViewStyle Nlsv
killall Finder
cat <<INFO
*** Manual Steps ***
👉 setup 1Password
👉 setup Chrome
👉 Pivotal VPN: https://otp.pivotal.io/
👉 configure IntelliJ license: http://omaha.pivotallabs.com:8080/licenseServer
👉 setup IntelliJ settings repository: https://github.com/lnhrdt/intellij-settings
👉 setup Syncthing: http://localhost:8084
INFO