docs/contribute.md
Got a fix or fresh idea? Learn how to contribute to RxDB, run tests, and shape the future of this cutting-edge NoSQL database for JavaScript.
We are open to, and grateful for, any contributions made by the community.
Before you can start developing, do the following:
git clone https://github.com/pubkey/rxdb.gitcd rxdb && npm installnpm run test:node:memory which tests the memory storage in node. In the package.json you can find more scripts to run the tests with different storages.Before you start creating a bugfix or a feature, you should create a test to reproduce it. Tests are in the test/unit-folder.
If you want to reproduce a bug, you can modify the test in this file.
If you make a pull-request, ensure the following:
dist-folder)npm run test and ensure everything works as expectedIf you need help with your contribution, ask at discord.
When reporting a bug, you need to make a PR with a test case that runs in the CI and reproduces your problem. Sending a link with a repo does not help the maintainer because installing random peoples projects is time consuming and dangerous. Also the maintainer will never go on a bug hunt based on your plain description. Either you report the bug with a test case, or the maintainer will likely not help you.
The source of the documentation is at the docs-src-folder.
To read the docs locally, run npm run docs:install && npm run docs:serve and open http://localhost:4000/