Before you start working, you have to install all the codes available to your device. If this is your first time, go ahead and follow the guide below:
- Clone into the React repository
git clone https://github.com/andrwgarciaa/multimedia-aol.git
- After the multimedia-aol folder is installed in your device, you can now open the folder in your IDE.
- Open command prompt, and do
npm i
on the folder. - After everything is installed, you are ready to go.
Each one of us has their own development branch, you can go to your own branch by doing git checkout origin/{your_branch_name}
, for example: git checkout origin/andrew
.
Before working, pull the latest project version from development by doing git pull origin development
.
After you are done with your code and ready to push it into the development branch, you have to push the code to your branch:
git add {files}
git commit -m '{commit message}
git push origin {your_branch_name}
- You should NOT push to branches other than your own, especially the main and development branch.
- Every finished updates are available on the development branch.
- The main branch is only for production-ready code. Which I (Andrew G), will update accordingly.