We will have to form a rule for the Integration from now onward: Step 1. Anyone Person (volunteer) Will Clone the latest Version from Git and will perform Integration the Backend Codes of Everyone. to the Master Branch without touching the front end. Please Note: All should complete the Backend code to be deployed before the Integration. (Post integration Changes will be moved in next batch). Step 2. Anyone Person (volunteer) Will Clone the latest Version from Git and will perform Integration the Frontend Codes of Everyone. to the Master Branch without touching the Backend.
Step 1 and Step 2 Person responsible will also make sure to run the Application before Master Branch pull request creation.
CMPE273_GroupProject
Hi Guys, Some rules for GIT commit.
- No one will commit directly on the master branch.
- Please push your code on the local branch of your own. (I will guide how to do it.)
- Plese do the cloning now and then. (its prefered to do cloning after every Push.) This will make sure you have latest version of Codes. We need to do this because along with you our teammates will also be pushing there codes, which can cause conflict in the master branch at time of pull request. And this is also the reason we are not allowed to push code to master branch.
- Rest we will discuss in the team meeting.
Steps :
- Clone via command prompt SSH in your local system.
- Make desire changes.
- Check for git Status
- Make a Local branch of your name. Eg. git branch Pranjal
- then checkout to new branch. eg. git checkout Pranjal (this will change the branch).
- now add the changes e.g. git add .
- Now do the git commit with desire message e.g. git commit -m "Chage type"
- git push
Above will create a new branch in github. (Pranjal branch will be create in github.com) Now create a new pull request from your branch to merge it to master branch. This will prompt error (approval required) Take one approval from anyone of team mates. This will check the conflict.
then it will get merged to master.
Two folders are there: a) Frontend: Goto-> frontend->Quora and run run npm install ( it will install all dependency for this application) then start npm in cmd. your server will start at port 3000 b) Backend: Goto ->backend -> and run run npm install ( it will install all dependency for this application) then npm start. your server will start at port 3001