This is a guide to explain the working of this code and how you can contribute to this repository without causing any unexpected errors.
There are some steps that you need to follow to setup this project in your own local machine.
- Clone this repository
git clone {{Link of this repo}}
- Install the dependencies
yarn
If you do not have yarn on your machine, please use :
npm install yarn --global
If you do not have npm on your machine, please go Here and Install the LTS version, it comes bundeled with npm by default
-
Opening the project in the browser
- Dev Mode (With Tailwind Watch)
yarn start
- Server (Without Tailwind Watch)
yarn serve
-
Clone this repo to your local machine by performing the above mentioned steps
-
Create a separate branch, steps are mentioned below:
git branch {{branch-name}}
git checkout {{branch-name}}
- Now the head of your local clone will be pointing to this branch
-
Make your changes
Details about this part are given below
-
Publish your branch to github, by using the below commands:
git add .
git commit -m "{{message about the commit}}"
git push --set-upstream origin {{branch-name}}
-
Open this repo on github you will send an option on the top to create a pull request
-
Select the options and create a PR with appropirate message
- Make a new folder in the
/root
directory - Put your files in that folder
- Use the navbar and footer files present in the
/common-template
folder - Just include the files as a script tag
- Get your links added in the database:
Contact the backend guys of TEAM A
- Test your changes on localhost
- Complete the contributing process