dotfiles/README.md

72 lines
1.9 KiB
Markdown
Raw Normal View History

2019-03-01 08:47:48 +00:00
### Use SDKMan to install development tools
```
curl -s "https://get.sdkman.io" | bash
sdk install java
sdk install gradle
sdk install java 8.0.202-zulu
```
2019-03-01 09:24:53 +00:00
### Install Docker Desktop for Mac
```
2019-07-22 07:50:20 +00:00
~/.scripts/executable_bootstrap.sh
2019-03-01 09:24:53 +00:00
```
2019-03-01 08:47:48 +00:00
2019-03-01 13:03:11 +00:00
### Install dependencies (apps, fonts, ...) with Brew
2019-03-01 08:47:48 +00:00
`brew bundle`
2019-07-20 10:10:13 +00:00
### Install Oh My Zsh and some cool dependencies
2019-03-01 08:47:48 +00:00
```
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9
2019-03-01 09:53:42 +00:00
git clone https://github.com/AlexisBRENON/oh-my-zsh-reminder ~/.oh-my-zsh/custom/plugins/reminder
2019-07-20 10:10:13 +00:00
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
```
#### In order to upgrade it, just run
`upgrade_oh_my_zsh`
2019-07-22 07:50:20 +00:00
### In cases of `\n` errors with zsh
2019-07-20 10:10:13 +00:00
https://github.com/robbyrussell/oh-my-zsh/issues/6764#issuecomment-384045008
```
cd $ZSH
git config core.autocrlf false
git rm --cached -r .
git reset --hard
2019-03-01 08:47:48 +00:00
```
### OSX Defaults
```
./.macos
2019-03-01 08:47:48 +00:00
```
### Install NPM dependencies
`npm install -g jira-node-cli`
2019-04-09 11:32:57 +00:00
2019-06-23 17:38:00 +00:00
### Install pip and pipenv
2019-04-09 11:32:57 +00:00
```
sudo easy_install pip
sudo pip install --upgrade pip
2019-06-18 08:47:12 +00:00
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
sudo python3 get-pip.py
2019-04-09 11:32:57 +00:00
sudo pip3 install --upgrade pip
2019-06-18 08:47:12 +00:00
ln -s /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/bin/pip pip3
export PATH=$PATH:/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/bin/
2019-06-23 17:38:00 +00:00
pip3 install pipenv
2019-04-09 11:32:57 +00:00
```
### Install AWS-CLI
2019-04-09 11:47:54 +00:00
```
pip3 install boto3
pip3 install awscli
```
### If Yubico is installed, run this :
`sudo ansible-playbook ~/Code/dotfiles/macsecure_playbook.yaml`
2019-06-23 17:38:00 +00:00
## Upgrades
### Upgrade dependencies with Brew
`brew outdated | xargs brew upgrade`