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.
-
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
- 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.
-
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
.
- 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.
OR
git rebase -i HEAD~[NUMBER OF COMMITS]
git rebase -i [SHA]
- Do not comment back on the issue "Please check my PR". Maintainers will have a look as per their convenience.