Last active
July 9, 2019 21:56
-
-
Save kjbrum/2c44d39325fad624c4773a09dd8c6a5c to your computer and use it in GitHub Desktop.
Revisions
-
kjbrum revised this gist
Jul 9, 2019 . 2 changed files with 21 additions and 22 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,19 +0,0 @@ This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -44,9 +44,27 @@ Navigate to https://github.com/settings/keys and add your new SSH key. ## .bash_profile Add the following to your local `.bash_profile`: ``` # Update the PATH variable export PATH="$(composer config -g home)/vendor/bin:$PATH" export PATH="/usr/local/bin:$PATH" export PATH="/usr/local/sbin:$PATH" # Go export GOPATH="$HOME/go" export GOROOT="$(brew --prefix golang)/libexec" export PATH="$GOPATH/bin:$GOROOT/bin:$PATH" # Set our Homebrew Cask application directory export HOMEBREW_CASK_OPTS="--appdir=/Applications" # Add SSH keys to the ssh-agent # https://developer.github.com/v3/guides/using-ssh-agent-forwarding/ # https://confluence.atlassian.com/bitbucket/configure-multiple-ssh-identities-for-gitbash-mac-osx-linux-271943168.html if [ ! $(ssh-add -l | grep -o -e id_rsa) ]; then ssh-add "$HOME/.ssh/id_rsa" > /dev/null 2>&1 fi ``` Be sure to open a new terminal window after making this update. -
kjbrum revised this gist
Apr 16, 2019 . No changes.There are no files selected for viewing
-
kjbrum revised this gist
Apr 16, 2019 . 1 changed file with 6 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -114,4 +114,9 @@ go get github.com/astockwell/serfix - VS Code: `brew cask install visual-studio-code` - Sequel Pro: `brew cask install sequel-pro` - iTerm2: `brew cask install iterm2` ## TODO - Add steps for WordPress deployer -
kjbrum revised this gist
Apr 16, 2019 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,8 @@ # Dev Environment Setup > Be sure to follow these steps in order, or you might run into unexpected issues. ## Xcode ```sh -
kjbrum revised this gist
Apr 16, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -70,7 +70,7 @@ sudo n lts ## Composer Global Require (CGR) Once this is installed, anytime you need to install something using `composer global require`, replace it with `cgr`. Example: `composer global require weprovide/valet-plus` becomes `cgr weprovide/valet-plus`. -
kjbrum revised this gist
Apr 16, 2019 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -71,6 +71,7 @@ sudo n lts ## Composer Global Require (CGR) Once this is installed, anytime you need to install something using `composer global require ...`, replace it with `cgr ...`. Example: `composer global require weprovide/valet-plus` becomes `cgr weprovide/valet-plus`. ```sh -
kjbrum revised this gist
Apr 16, 2019 . 1 changed file with 7 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -102,4 +102,10 @@ brew install go # Install Serfix go get github.com/astockwell/serfix ``` ## Tools/Apps - VS Code: `brew cask install visual-studio-code` - Sequel Pro: `brew cask install sequel-pro` - iTerm2: `brew cask install iterm2` -
kjbrum revised this gist
Apr 16, 2019 . 2 changed files with 53 additions and 16 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ # Update the PATH variable export PATH="$(composer config -g home)/vendor/bin:$PATH" export PATH="/usr/local/bin:$PATH" export PATH="/usr/local/sbin:$PATH" This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,18 @@ ## Xcode ```sh # When asked about the command line tools, hit install. xcode-select --install ``` ## Homebrew ```sh ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" ``` ## SSH Key Make sure you have an SSH key setup and added to your Github account. @@ -25,44 +40,66 @@ Navigate to https://github.com/settings/keys and add your new SSH key. ## .bash_profile Add the contents of the `.bash_profile` file to your local `.bash_profile`: ```sh curl https://gist.github.com/kjbrum/2c44d39325fad624c4773a09dd8c6a5c/raw/.bash_profile >> ~/.bash_profile ``` Be sure to open a new terminal window after making this update. ## Git ```sh brew install git ``` ## Node/npm ```sh # Install n (https://github.com/tj/n) brew install n # Install Node/npm n lts # You might get an error about sudo, if so, run the following sudo n lts ``` ## Composer Global Require (CGR) Once this is installed, anytime you need to install something using `composer global require ...`, replace it with `cgr ...`. Example: `composer global require weprovide/valet-plus` becomes `cgr weprovide/valet-plus`. ```sh composer global require consolidation/cgr ``` ## Valet+ Follow these instructions: https://github.com/weprovide/valet-plus#installation ## Link MySQL ```sh brew link [email protected] --force ``` ## Envoy ```sh cgr laravel/envoy ``` ## Go & Serfix ```sh # Install Go brew install go # Install Serfix go get github.com/astockwell/serfix ``` -
kjbrum revised this gist
Apr 16, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -27,7 +27,7 @@ Navigate to https://github.com/settings/keys and add your new SSH key. Add the contents of the `.bash_profile` file to your local `.bash_profile`: ```sh curl https://gist.github.com/kjbrum/2c44d39325fad624c4773a09dd8c6a5c/raw/.bash_profile >> ~/.bash_profile ``` -
kjbrum revised this gist
Apr 16, 2019 . 2 changed files with 7 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ # Update the PATH variable export PATH="$HOME/.composer/vendor/bin:$PATH" export PATH="/usr/local/bin:$PATH" export PATH="/usr/local/sbin:$PATH" # Go export GOPATH="$HOME/go" This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -24,14 +24,17 @@ Navigate to https://github.com/settings/keys and add your new SSH key. ## .bash_profile Add the contents of the `.bash_profile` file to your local `.bash_profile`: ```sh curl https://gist.github.com/kjbrum/2c44d39325fad624c4773a09dd8c6a5c/raw/ce9d27ac970b80cd44de3470d7f9bf4608f584ee/.bash_profile >> ~/.bash_profile ``` ## Xcode ```sh # When asked about the command line tools, hit install. xcode-select --install ``` -
kjbrum revised this gist
Apr 16, 2019 . 1 changed file with 7 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ ## SSH Key Make sure you have an SSH key setup and added to your Github account. @@ -22,12 +22,12 @@ pbcopy < ~/.ssh/id_rsa.pub Navigate to https://github.com/settings/keys and add your new SSH key. ## .bash_profile Add the contents of the `.bash_profile` file to your local `.bash_profile` ## Xcode > When asked about the command line tools, hit install. @@ -36,21 +36,21 @@ xcode-select --install ``` ## Homebrew ```sh ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" ``` ## Git ```sh brew install git ``` ## Node/npm ```sh brew install n @@ -60,6 +60,6 @@ sudo n lts ``` ## Valet+ Follow these instructions: https://github.com/weprovide/valet-plus#installation -
kjbrum created this gist
Apr 16, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ # Update the PATH variable export PATH="$HOME/.composer/vendor/bin:$PATH" export PATH="/usr/local/bin:$PATH" export PATH="/usr/local/sbin:$PATH"``` # Go export GOPATH="$HOME/go" export GOROOT="$(brew --prefix golang)/libexec" export PATH="$GOPATH/bin:$GOROOT/bin:$PATH" # Set our Homebrew Cask application directory export HOMEBREW_CASK_OPTS="--appdir=/Applications" # Add SSH keys to the ssh-agent # https://developer.github.com/v3/guides/using-ssh-agent-forwarding/ # https://confluence.atlassian.com/bitbucket/configure-multiple-ssh-identities-for-gitbash-mac-osx-linux-271943168.html if [ ! $(ssh-add -l | grep -o -e id_rsa) ]; then ssh-add "$HOME/.ssh/id_rsa" > /dev/null 2>&1 fi This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,65 @@ #### SSH Key Make sure you have an SSH key setup and added to your Github account. To check if you have a key: ```sh cat ~/.ssh/id_rsa.pub ``` If nothing is printed to the console, that means you don't have a key. Generate a key with the following: ```sh # Just hit enter for all the prompts ssh-keygen -t rsa -C "<[email protected]>" ``` Copy your SSH key to your clipboard: ```sh pbcopy < ~/.ssh/id_rsa.pub ``` Navigate to https://github.com/settings/keys and add your new SSH key. #### .bash_profile Add the contents of the `.bash_profile` file to your local `.bash_profile` #### Xcode > When asked about the command line tools, hit install. ```sh xcode-select --install ``` #### Homebrew ```sh ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" ``` #### Git ```sh brew install git ``` #### Node/npm ```sh brew install n n lts # You might get an error about sudo, if so, run the following sudo n lts ``` #### Valet+ Follow these instructions: https://github.com/weprovide/valet-plus#installation