Historical setup notes. PickleJS archived documentation is restored.
We install most of our application
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
We need ssh keys so let's start syncing
These are automatically installed by:
brew cask install dropbox google-backup-and-sync
Takes forever to sync so...install these first:
Go to the App Store and install XCode. It contains a lot of command line utilities necessary later on. It takes a long time to download as well.
These are GUIs that I use:
These have already been installed above:
brew cask install \
dropbox \
google-backup-and-sync
Run the following command to install software that I use:
brew cask install \
1password \
cyberduck \
ccleaner \
clickup \
discord \
docker \
evernote \
github \
google-chrome \
google-cloud-sdk \
google-hangouts \
hubstaff \
iterm2 \
moom \
obs \
postman \
quickbooks-online \
rescuetime \
sequel-pro \
sketch \
skype \
slack \
spotify \
the-clock \
tower \
visual-studio-code \
whatsapp \
zoom
brew install
hub
jq
nvm
rclone
speedtest-cli
yarn
### Command Line setup
```bash
# Setting up zsh
rm ~/.zshrc && \
ln -s "~/Google\ Drive/ALL - Toli/Config Files/.zshrc" && \
source ~/.zshrc
# Oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# powerline fonts
git clone https://github.com/powerline/fonts.git --depth=1
cd fonts
./install.sh
cd ..
rm -rf fonts
# nvm
# https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
source ~/.zshrc
nvm install latest
# mismatch in nvm
npm config set scripts-prepend-node-path auto
# Firebase
npm i -g firebase-tools
# lerna
npm i -g lerna
# Codefresh
npm i -g codefresh
npm login
firebase login
# TODO: Setup Codefresh
~/Sitesxcode-select --installGet API Key From here bottom. Log in using google account (toli@nycitt.com)
Authenticate with key from previous step
codefresh auth create-context --api-key KEY_GOES_HERE
RescueTime
Tower
~/Sitescode~Sites folder onto the screen~/Sites and drag it into favorites.ssh
ln -s ~/Google\ Drive/ALL\ -\ Toli/Config\ Files/.zshrc && source ~/Mi.zshrcRun
brew install aws-okta awscli aws-iam-authenticator
mkdir ~/.aws
Copy the following into ~/.aws/config
[okta]
aws_saml_url=home/amazon_aws/0oa13zruhwnKvZc5u357/272
[profile legacy]
region=us-east-1
role_arn=arn:aws:iam::241884713626:role/Developer
[profile legacy-operator]
region=us-east-1
role_arn=arn:aws:iam::241884713626:role/Operator
[profile app-prod]
region=us-east-1
role_arn=arn:aws:iam::567347048851:role/Developer
[profile app-preprod]
region=us-east-1
role_arn=arn:aws:iam::550986622600:role/Developer
[profile app-playground]
region=us-east-1
role_arn=arn:aws:iam::205623263074:role/Developer
[profile logs]
region=us-east-1
role_arn=arn:aws:iam::053214610460:role/Developer
Run Okta setup
aws-okta add
Okta organization: hover
Okta region (us, emea, preview): <hit_enter_leaving_it_blank>
Okta domain hover.okta.com: <hit_enter_leaving_it_blank>
Okta username: <your_hover_email@hover.to>
Okta password: <your_okta_password>
Setup expiration in ~/.zshrc
In "System Preferences -> Preferences" add VPN as "L2TP over IPSec"
setopt sh_word_split # For zsh
dirs=$(find . -maxdepth 1 -type d -execdir test -d {}/.git \; -prune -print 2>/dev/null)
for dir in $dirs; do
originalPwd=$(pwd)
cd $dir
unclean=$(git status --porcelain)
unpushed=$(git log --branches --not --remotes)
[[ $unclean || $unpushed ]] && git add . && git commit -m "Uncommited Changes" && git push --all
cd $originalPwd
done
function executeInAllGitDirs {
dirs=$(find . -maxdepth 1 -type d -execdir test -d {}/.git \; -prune -print 2>/dev/null)
for dir in $dirs; do
originalPwd=$(pwd)
cd $dir
eval $1
cd $originalPwd
done
}
executeInAllGitDirs "echo \"git clone \$(git config --get remote.origin.url)\""
cd ~/Sites
# Personal Repos
git clone git@github.com:tolicodes/node-cli-toolkit.git
git clone git@github.com:tolicodes/activity-brainstorm.git
git clone git@github.com:tolicodes/node-api-toolkit.git
git clone git@github.com:tolicodes/dropbox-photo-viewer.git
git clone git@github.com:tolicodes/souleclipse.us.git
git clone git@github.com:tolicodes/principles.git
git clone git@github.com:hoverinc/infragen.git
git clone git@github.com:tolicodes/github-toolkit.git
git clone git@github.com:tolicodes/zoomevents.git
git clone git@github.com:tolicodes/index.git
git clone git@github.com:tolicodes/infragen.git
# Client repos
git clone git@github.com:COVID-basic-needs/JS-frontend.git
git clone git@github.com:TackleHunger/TackleHunger.git
git clone git@github.com:tolicodes/erxes.git
git clone git@github.com:tolicodes/erxes-api.git
# Hover
git clone git@github.com:hoverinc/design-pro-frontend.git
git clone git@github.com:hoverinc/ks8-applications.git
git clone git@github.com:hoverinc/website.git
git clone git@github.com:hoverinc/developers.hover.to.git
git clone git@github.com:hoverinc/hoverctl.git
git clone git@github.com:hoverinc/cd-tools.git
git clone git@github.com:hoverinc/machete.git
git clone git@github.com:hoverinc/org_analytics.git
git clone git@github.com:hoverinc/hyperion.git
git clone git@github.com:hoverinc/billing-frontend.git
git clone git@github.com:hoverinc/codefresh_qa.git
git clone git@github.com:hoverinc/design-tokens.git
git clone git@github.com:hoverinc/engineering.git
git clone git@github.com:hoverinc/hover-javascript.git
git clone git@github.com:hoverinc/picklejs.git
git clone git@github.com:hoverinc/webapps.git
git clone git@github.com:hoverinc/codefresh-test.git
git clone git@github.com:hoverinc/rfc.git
git clone git@github.com:hoverinc/developers.hover.to.git
git clone git@github.com:hoverinc/front-end-fastify-server.git
git clone git@github.com:hoverinc/hover-cli.git
git clone git@github.com:hoverinc/developers.hover.to.git
git clone git@github.com:tolicodes/public-notes.git
setopt sh_word_split # For zsh
function executeInAllGitDirs {
dirs=$(find . -maxdepth 1 -type d -execdir test -d {}/.git \; -prune -print 2>/dev/null)
for dir in $dirs; do
originalPwd=$(pwd)
cd $dir
eval $1
cd $originalPwd
done
}
executeInAllGitDirs "[[ \$(find . -name package.json) ]] && yarn"
Check this
curl -s 'https://api.macapps.link/en/chrome-dropbox-drive-github-sequelpro-vscode-docker-sketch-iterm-1password-cyberduck-spotify-skype-slack-whatsapp-discord' | sh