Development site of only frontend
-
Clone the github repository
git clone https://github.com/IEEE-RVCE/IEEE-RVCE.github.io ieee-rvce.github.io
-
Install all the dependencies in the folder by running the below command in the folder
npm install package.json
-
Start localhost server by running the below after install
npm start
-
A window should open shortly with the web app running
Ideally test the component or page on a separate branch and keep it developing. When it is done and works with the code in master branch correctly, merge the branch. Take care that the test files are only created in the test branch, or there can be a merge conflict. Try not to change the files which were on the master. If you do need to change them, change them with the update on the master branch for everybody to use the change, so they are in track.
-
Pull the repository
git pull origin master
This should pull the contents of the master branch
-
Install all the dependencies that might have been updated by running
npm install package.json
-
Make your own branch on your device and switch to it
git checkout -b <branch name>
-
Work on the current branch of your own. Name it appropriately
-
When it works and is stable, merge with the master adding a message that closes an issue pertaining to your task, if any
-
Push the changes by running
git push origin master
The above workflow is set on a whim, but if anybody has a better idea, please do pitch it! Let's gooooooo xD