Git clone
into the directory of your choice- make sure you do an
npm install
in each of theserver
andclient
directory - in the server directory, make sure you do the following:
npm install express
npm install mongodb
npm install cors
npm install --save-dev nodemon
- you should then be able to run both the server and the client in separate tabs on the terminal:
npm run server:dev
npm start
- do a
git pull
to ensure you've got the latest version - if necessary, run
npm run seeds
to populate the database git checkout -b feature/<name or ticket number>
or fix/- gaa / git commit -m (do this frequently)
- when you're done with your code/feature, - i.e. before doing step 6, do a further pull main, then go back to your branch and do a
git merge main
to check for any conflicts git push origin <branchname>
- Open a pull request on github
- get someone else to confirm merge on github
git branch
- will show you all the available branches. The one you're on is in green