We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's:
- Reporting a bug
- Discussing the current state of the code
- Submitting a fix
- Proposing new features
- Becoming a maintainer
We use GitHub to track issues and feature requests, as well as accept pull requests.
We Use Github Flow, So All Code Changes Happen Through Pull Requests
Pull requests are the best way to propose changes to the codebase (we use Github Flow). We actively welcome your pull requests:
- Fork the repo, clone and create your
branch
fromdevelop
.
git clone [email protected]:<your-username>/twitstat.git
cd twitstat
git checkout -b develop remotes/origin/develop
git checkout -b "your_feature_branch"
- Make your changes
- Write clear meaningful git commit messages.
git add <changed_files>
git commit -m "Commit Header(limit to 72 chars)
>
> commit body (markdown supported)"
git push -u origin <your_feature_branch>
- Always create PR to
develop
branch. - If you are solving any issue(s), link that to your PR.
- Make sure your code lints.
- Issue that pull request!
Report bugs using Github's issues
We use GitHub issues to track public bugs. Report a bug by opening a new issue, it's that easy!
- Git Branches::
main
branch is used for Productiondevelop
branch is used for the development or stagingfeature_branch
branch should create PR todevelop
branch- Delete the
feature_branch
once merged
- Project Board::
Frontend
for the Frontend part of the ApplicationBackend
for the backend part of the applicationBugs
for reporting all the bugs, found on the application
- Write clear meaningful git commit messages (Do read How to Write a Git Commit Message).
- Make sure your PR's description contains GitHub's special keyword references that automatically close the related issue when the PR is merged. (Check out Closing Issues via Pull Requests for more info)
- When you make very very minor changes to a PR of yours (like for example fixing a text in button, minor changes requested by reviewers) make sure you squash your commits afterward so that you don't have an absurd number of commits for a very small fix. (Learn how to squash at Squash Commits with Git)
- When you're submitting a PR for a UI-related issue, it would be really awesome if you add a screenshot of your change or a link to a deployment where it can be tested out along with your PR. It makes it very easy for the reviewers and you'll also get reviews quicker.
- Please follow the PR Template to create the PR.
- Always open PR to
develop
branch. - Please read our Code of Conduct.
We use sphinx to generate documentation. Sphinx uses reStructuredText as its markup language.
- Move to the
docs
Directory
cd docs
- Install dependencies
python -m pip install -r requirements.txt
- Make Changes
- Running the docs locally
# inside docs directory
make html # build html
open build/html/index.html # Open/Refresh the index page to check the output
Any contributions you make will be under the MIT Software License
In short, when you submit code changes, your submissions are understood to be under the same MIT License that covers the project. Feel free to contact the maintainers if that's a concern.
By contributing, you agree that your contributions will be licensed under its MIT License.