Skip to content

Instantly share code, notes, and snippets.

@Verthon
Last active August 9, 2020 15:20
Show Gist options
  • Save Verthon/b3335911bf89da3267e3ce1d941285f9 to your computer and use it in GitHub Desktop.
Save Verthon/b3335911bf89da3267e3ce1d941285f9 to your computer and use it in GitHub Desktop.

Install brew

VSCode

Check if ZSH is active shell

  • check if zsh is default shell
  • check if ~/.zshrc exists ?

Install git

  • check if git is installed
  • install git via brew

SSH Bitbucket

NVM

  • 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

ENV

  • create .env file in root of the project
  • add to it contents of the .env.dist

Run the project

  • at this point hopefully you should be able to run the project
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment