-
Notifications
You must be signed in to change notification settings - Fork 119
Contribution Guidelines
If you want to start contributing to our awesome Canvasboard project, please go through the following before jumping into the contribution:
-
The Code of conduct
-
The Contribution guideline of our organization.
After going through all this, please follow the steps mentioned below:
For setting up the canvasboard project on your local:
-
Fork the repo by clicking on the
fork
icon. -
Clone the repo using the command
git clone https://github.com/<you_repo_name>/canvasboard.git
-
Open the cloned folder via any editor.
-
Verify that you are in
canvasboard
directory. -
Add the main repo as "upstream" using
git remote add upstream https://github.com/Canvasbird/canvasboard.git
This will be used to pull the changes from the original canvasboard repo.
-
Run
npm install
to install all the dependencies. -
Run
ng serve -o --poll=2000
to run the frontend server.
Yayy!πΌ Your application is served locally in localhost:4200π
After you set up the Canvasboard set up on your local, you can choose any of the issues from Issue tracker of the repo to work on.
For working on an issue:
- Create a new branch from master branch
git checkout master
git checkout -b "your_branch_name>
Try to give a meaningful branch name. For example if you are working on fixing the graph plugin, use "fix_graph_plugin" as the branch name
- After creating the branch, make the changes required to fix the issue you took and test it on your local by running the server.
After you are done with all the changes and have tested it, follow these steps for creating a PR:
-
Add the changes to the staging using
git add .
-
Commit the changes using:
git commit -a -m "<your_commit_msg>"
Please make sure to give a meaningful commit message. For example if you fixed the graph plug, use "fixed_graph_plugin" as the commit message.
-
Pull the changes from the upstream using
git pull upstream master
-
push the branch to your forked repository using:
git push origin <your_branch_name>
-
Go to your GitHub forked repository and make the PR using the pushed branch. Also make sure you don't have any merge conflicts while opening a PR.
Hurray!!π You have created your first PR to the Canvasboard π