2020-07-12 14:19:25 +00:00
|
|
|
# Introduction
|
|
|
|
|
|
|
|
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)
|
|
|
|
|
2019-08-11 08:46:37 +00:00
|
|
|
## Prerequisites
|
|
|
|
|
|
|
|
### Centos
|
2020-07-11 10:25:30 +00:00
|
|
|
|
2019-11-16 12:01:53 +00:00
|
|
|
`yum install git -y`
|
2019-08-11 08:46:37 +00:00
|
|
|
|
2019-08-10 11:55:59 +00:00
|
|
|
## Setup
|
2020-07-11 10:25:30 +00:00
|
|
|
|
2019-08-10 11:55:59 +00:00
|
|
|
```
|
2020-07-09 05:40:11 +00:00
|
|
|
git clone https://github.com/MorganGeek/dotfiles.git $HOME/Code/dotfiles
|
|
|
|
$HOME/Code/dotfiles/dot_scripts/bootstrap.sh
|
2019-08-10 11:55:59 +00:00
|
|
|
```
|
|
|
|
|
2019-07-25 19:38:04 +00:00
|
|
|
### Run
|
2020-07-11 10:25:30 +00:00
|
|
|
|
2019-07-25 19:38:04 +00:00
|
|
|
run `.scripts/bootstrap.sh`
|
2019-03-01 08:47:48 +00:00
|
|
|
|
2019-07-25 19:38:04 +00:00
|
|
|
### Reload
|
2020-07-11 10:25:30 +00:00
|
|
|
|
2019-07-25 19:38:04 +00:00
|
|
|
run `zsh .scripts/reload.sh`
|
2019-03-01 08:47:48 +00:00
|
|
|
|
2019-07-25 19:38:04 +00:00
|
|
|
### Upgrade
|
2020-07-11 10:25:30 +00:00
|
|
|
|
2019-07-25 19:38:04 +00:00
|
|
|
run `zsh .scripts/upgrade.sh`
|
2019-03-01 08:47:48 +00:00
|
|
|
|
2019-07-25 19:38:04 +00:00
|
|
|
### Scope
|
2020-07-11 10:25:30 +00:00
|
|
|
|
|
|
|
- Use SDKMan to install development tools
|
|
|
|
- Install Docker Desktop for Mac
|
|
|
|
- Install asciidoctor-pdf
|
|
|
|
- Install Oh My Zsh and some cool dependencies
|
|
|
|
- OSX Defaults
|
|
|
|
- Install NPM dependencies
|
|
|
|
- Install pip and pipenv
|
|
|
|
- Install AWS-CLI
|
2019-07-23 19:25:52 +00:00
|
|
|
|
2020-07-12 14:19:25 +00:00
|
|
|
### If Yubico is installed, run this
|
2020-07-11 10:25:30 +00:00
|
|
|
|
2019-08-17 09:52:17 +00:00
|
|
|
`sudo ansible-playbook ~/.scripts/ansible/macsecure_playbook.yaml`
|
2019-07-20 10:10:13 +00:00
|
|
|
|
2019-07-25 19:38:04 +00:00
|
|
|
#### In cases of `\n` errors with zsh
|
2020-07-11 10:25:30 +00:00
|
|
|
|
2020-07-12 14:19:25 +00:00
|
|
|
[Source](https://github.com/robbyrussell/oh-my-zsh/issues/6764#issuecomment-384045008)
|
2020-07-11 10:25:30 +00:00
|
|
|
|
|
|
|
```
|
|
|
|
cd $ZSH
|
|
|
|
git config core.autocrlf false
|
|
|
|
git rm --cached -r .
|
|
|
|
git reset --hard
|
|
|
|
```
|