- check if zsh is default shell
- check if ~/.zshrc exists ?
- check if git is installed
- install git via brew
- add ssh key https://support.atlassian.com/bitbucket-cloud/docs/set-up-an-ssh-key/
- add key in bitbucket
- check if clone is possible
- install nvm via brew 12 lts (v 12.18.3)
- check if ~/.zshrc has these lines:
[ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh" # This loads nvm [ -s "/usr/local/opt/nvm/etc/bash_completion.d/nvm" ] && . "/usr/local/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion source $(brew --prefix nvm)/nvm.sh```
- npm start might fail in that case:
- delete package.lock.json
- delete node_modules
- update react-scripts to v 3.4.0
- then npm i
- create .env file in root of the project
- add to it contents of the .env.dist
- at this point hopefully you should be able to run the project