Skip to content

Latest commit

 

History

History
114 lines (94 loc) · 4.35 KB

ContributionGuidelines.md

File metadata and controls

114 lines (94 loc) · 4.35 KB

Contribution Guidelines contributions welcome 🤝🏽🍀:

Section-1: File Structure of the Project 🗃️📂

This folder contains the stylesheets, images and fonts. Any files within this directory will not be processed by Webpack but copied directly to the build folder.

This folder contains all the main source code for the React application.

Files/Folders that are directly located inside the Src Folder: 📥

|-assets       #This folder contains all the community brand assets.
|-components   #This folder contains all the components used within the website.
|-fonts        #This folder contains the fonts used in the website
|-pages        #This folder contains all the sections of the page.
      |-editor
      |-home
      |-sketch
|-..

This folder contains all the community brand assets

This folder contains all the images used in Readme Markdown.

Section-2: To get the project on your local machine 💻🧑‍💻👩‍💻

  • Install Git 📥
  • Setup Github Account 📇
  • Fork this Project 🍴

  • Clone your forked copy of the project 🧩.

    git clone https://github.com/<your_user_name>/doc2pen.git
    
  • Navigate to the project directory 📁.

    cd doc2pen
    
  • Add a reference(remote) to the original repository.

    git remote add upstream https://github.com/smaranjitghose/doc2pen.git
    

Section-3: To run the project on your local machine ⌨️🖥️🖱️

  • To install the dependencies and packages, run npm install.
  • To start the project in development mode, run npm start.
  • Navigate to http://localhost:3000 to view it in the browser.

Section-4 : To make changes in the project 🎨👩‍🎨👨‍🎨

  • To directly update the local repo with any changes made in the central repo prior to starting next edits or additions. To do this set up the central repository as an upstream remote for repo.

  • Pull changes from Upstream.

    git pull upstream master
    
  • Comment on an existing issue or Raise a new issue with a proper description.

  • Get it approved and assigned by the project maintainers.

  • Create a new feature branch (DO NOT name it MAIN or MASTER or anything random).

    git checkout -b <your_branch_name>
    
  • Do the changes.

  • Check the outcome.

  • Make a small clip or take screenshots.

  • Stage your changes.

    git add .
    
  • Commit your changes.

    git commit -m "Relevant message"
    
  • Push the changes.

    git push origin <your_branch_name>
    
  • To create a pull request, click on compare and pull requests.

Section-5: To make a pull request, follow the below guidelines ✅

  • Add an appropriate title.
  • Add an appropriate description of your work and .
  • Add images/screenshots depicting your changes.
  • Mention the issue the pull request is based upon using Closes #IssueNumber.

NOTE

  • Before you merge a feature branch back into your main branch (often master or develop), your feature branch should be squashed down to a single buildable commit, and then rebased from the up-to-date main branch.
    git rebase -i HEAD~[NUMBER OF COMMITS]
    
    OR
    git rebase -i [SHA]
    
  • Do not comment back on the issue "Please check my PR". Maintainers will have a look as per their convenience.