Skip to content

Latest commit

 

History

History
112 lines (81 loc) · 3.84 KB

CONTRIBUTING.md

File metadata and controls

112 lines (81 loc) · 3.84 KB

Contributing to the project 🔥✨

Contributions are always welcome, no matter how large or small!🙂

Install Git

Fork and clone this repository

git clone https://github.com/YOUR-GITHUB-USERNAME/TabuRei

Setting up

  • Having cloned the copy to your local machine, enter into the TabuRei directory using the cd command.
cd TabuRei
  • Great, you are now present in the source code of the project. You can take a look at the contents of the project using the ls command.
ls

You can choose to execute things in 2 ways:

Manual Setup

Firefox

  • Head to about:debugging.
  • Click on This Firefox on top left.
  • Click on Load Temporary Add-on
  • Select manifest.json file in the extension's directory.

Chrome

  • Head to chrome://extensions.
  • Enable Developer Mode on the top-right.
  • Click on Load Unpacked.
  • Select the extension's directory or any file inside it.

web-ext

web-ext is a command line tool designed to speed up various parts of the extension development process, making development faster and easier. Installation

npm install --global web-ext

Requires node.js install

Simply execute

web-ext run

This will load your extension into a test web browser and then you can experiment with your changes.

To know more about web-ext, Checkout:

Making Pull-Requests (Contributions)

Having setup the project and tested its working, if you want to contribute to it, follow the steps below :

  • Make a new branch of the project using the git checkout command :
git checkout -b "Name-of-the-branch"
  • Make changes according to the issues. Test the working of the changes.

  • Add the changes to staging area using the git add command :

git add .
  • Commit the changes made using the git commit commad :
git commit -m "Commit-message"
  • Push the changes to your branch on Github using the git push command :
git push -u origin "Name-of-the-branch-from-step-1"
  • Then, go to your forked repository and make a Pull Request 🎉. Refer this for more details.

Resources 📚

Git and Github

Javascript

Extension Development