Tools & Libs
Prerequisites
- nodejs
- pnpm
- bit
- zsh
- zsh plugins
- Github
- Postman
- Jira
- Lastpass
Nodejs
We are currently using node.js 18.x please ensure you have this version installed
PNPM Package Manager
We are using pnpm as our package manager, however we dont use it directly because we are using Bit (see here) however pnpm should be installed globally and please install the specific version below.
npm install -g pnpm
Bit
We use Bit for managing components and versioning of components, you need to install Bit which is a build time CLI tool. We use BVM which is a version manager for Bit
. Run the script below to install BVM and Bit
npx @teambit/bvm install
To upgrade Bit
npx @teambit/bvm upgrade
ZSH updates
Run the following commands to add some variables / aliases to your .zshrc file
echo 'export AWS_PROFILE=profile.dev' >> ~/.zshrc && source ~/.zshrc
echo 'export PATH=$(npm bin -g):$PATH' >> ~/.zshrc && source ~/.zshrc
echo 'export PATH=$HOME/bin:$PATH' >> ~/.zshrc && source ~/.zshrc
# Shortcut to pnpm so yuou can run pnpm command using just run
echo 'alias run="pnpm run "' >> ~/.zshrc && source ~/.zshrc
ZSH plugins
There are a couple very useful ZSH plugins that we'd recommend enabling
- git
- aws
Add plugins=(git aws)
to your .zshrc file and reload your shell to enable them
The aws plugin is especially useful once you've set up your access keys and secrets see IAM Setup
Github
Sign in to Github using your @wearehectare.com email address. If you haven't already got and account set on up. If you're not a hectare employee, use your github account but you will need to be added as a contributor to see the repositories
Postman
Download Postman and install it locally Sign in using your @wearehectare.comemail address
Jira
Sign in/up using your @wearehectare.com email address
Lastpass
Sign in/up using your @wearehectare.com email address