/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"#For macOS
brew install yarnFor windows, follow the instructions for Yarn installation: https://classic.yarnpkg.com/en/docs/install/#windows-stable
cd compsat-site-2020
#yes, run yarn only
yarnFor windows, first check if your git version is 2.5.3 and above.
If not, download the latest version: https://git-scm.com/download/win
#For macOS
brew install git-flow
#Initialize git flow
git flow init
#Create a feature branch
git flow feature start name-of-branchThere will be a series of prompts. Just click enter on all of them.
Create feature branches for the sites you're working on
Create pull request to develop after you're done with your branch
NEVER push to develop or to master
For more info on git-flow: https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow
#if you have npm
npm run dev
# or
yarn devOpen http://localhost:3000 with your browser to see the result.
To access your deployed branch (make sure you push your branch before checking) http://feature-name-of-branch--compsat.netlify.app
Open http://compsat.netlify.app/admin with your browser to access the Netlify CMS.