-
Fork the repository and copy the remote url of your own repo.
-
On your terminal, clone repository using:
git clone <paste-the-remote-url-of-your-own-repo
-
On your terminal, set the parent repo as your upstream using:
git remote add upstream https://github.com/zurichat/zc_plugin_noticeboard.git
-
(a) Create a development branch as the is where the testing and all work will be taking place:
git checkout -b development.
4 (b) If you already have a development branch:git checkout development
. -
Get the latest code from the parent repo and merge :
git pull upstream development
-
You can start working on your task.
Tip 💡: You can check the branch you are working on using
git branch
-
Once you are done with coding, stage your changes:
git add .
-
Then commit your changes your local branch:
git commit -m 'your reason for adding the code'
Tip 💡: You can check the files yet to be staged and committed with
git status
-
Then check the parent repo if there has been any update since the last time you pull to avoid conflicts and have a work that is in sync by pulling from the parent repo again:
git pull upstream development
-
Once it is done merging, push your changes to your own repo:
git push origin development
-
Then go to your repo, click on make contributions (if create a pull request doesn't show up) and create a pull request.
-
Compare parent development branch with your own development branch and create a pull request
⚠️ And the rest will be history 🙂 as long as you dont have more than 20 file changes
- cd into
backend/notice_project/frontend
- run command
yarn start
to run in integrated mode
OR - run command
yarn start:standalone
to run in standalone mode - open
localhost:8080
on your browser