This is the repo for the official Website of DSC Thapar Institute of Engineering and Technology, Patiala , Punjab.
Kindly go through the entire README.md for getting familiar with contribution steps
Installation and Setup
Setup and running of project (Backend)
pipenv install
pre-commit install
- python manage.py makemigrations
- python manage.py migrate
- Start the backend server
python manage.py runserver
This runs the backend server at default port 8000
.
Open http://localhost:8000 to view it in the browser.
Setup and running of project (Frontend)
- At your root directory run
yarn install
to install all the dependencies
- To start react dev server
yarn start
This runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
Contribution to the project
[![GitHub issues](https://img.shields.io/github/issues/developer-student-club-thapar/officialWebsite?logo=github)](https://github.com/developer-student-club-thapar/officialWebsite/issues) ![GitHub pull requests](https://img.shields.io/github/issues-pr-raw/developer-student-club-thapar/officialWebsite?logo=git&logoColor=white) ![GitHub contributors](https://img.shields.io/github/contributors/developer-student-club-thapar/officialWebsite?logo=github)
We follow a systematic Git Workflow -
- Create a fork of this repo.
- Clone your fork of your repo on your pc.
- Add Upstream to your clone
- Every change that you do, it has to be on a branch. Commits on master would directly be closed.
- Make sure that before you create a new branch for new changes,syncing with upstream is neccesary.
Commits
- Write clear meaningful git commit messages (Do read this).
- Make sure your PR's description contains GitHub's special keyword references that automatically close the related issue when the PR is merged. (Check this for more info)
- If you're making very, very small changes to your PR (such as fixing a failed Travis build, or making some minor style corrections or minor changes requested by reviewers), make sure you squeeze your commits afterwards, so you don't have an absurd number of commits for a very small fix. (Learn how to squash at here)
- If you are submitting a PR for a UI-related topic, it would be really awesome if you could add a screenshot of your change or a link to a deployment where it can be tested along with your PR. This makes it very easy for reviewers and you will also get reviews faster.
Note
- Since the project now uses pipenv to manage dependencies, you must run
pipenv install <package_name>
to install the new package.
- Use only
yarn add package_name
to add new packages to the frontend part.
Contributors β¨
We would like to thank these wonderful people who helped us to build this project. Cheers!
This project follows the specification of all-contributors. Contributions of any kind are welcome!
Community
All feedback and suggestions are welcome!