export CACHE_CLEAR_USERNAME=[user]
export CACHE_CLEAR_PASSWORD=[pass]
export ZIM_DEBUG=development
Username/Password used for CACHE_CLEAR can be found here. This allows for cache resets anytime you append the resetCache=true
query param.
brew uninstall --ignore-dependencies node
brew uninstall --force node
brew update
brew install nvm
nvm install 14.16.0
nvm use 14.16.0
nvm alias default 14.16.0
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# Load global yarn binaries
export PATH="$PATH:$(yarn global bin)"
Get a full list of localhost domain mappings to copy and paste to /etc/hosts
grep -Rh --include="hosts.default.js" "name:" packages/lib/webplex-experiences-configs | cut -c11- | sed "s/[']//g" | sed 's/^/127.0.0.1\t/'
Gets rid of pesky gyp-node errors
brew install pyenv
pyenv install 2.7.18
pyenv global 2.7.18
npm config --global set python ~/.pyenv/versions/2.7.18/bin/python
Adds better linting to VSCode using the rules from the Paramount cloud instanced of SonarQube.
-
Install Java JDK 11 (download)
-
Install SonarLint for VSCode (download)
-
Add the following to VSCode User Settings JSON:
"sonarlint.connectedMode.connections.sonarqube": [
{
"connectionId": "ViacomCBS",
"serverUrl": "https://sonarde.vmn.io",
"token": "[token]",
"disableNotifications": false
}
]
yarn nx start APP_NAME [--debug] [--persistLogs] [--serverPort=8080]
yarn zim start packages/apps/kf-app
yarn nx dep-graph