Here is how to setup dev tools before contributing to Querybook
To enable autocomplete and type checking, it is recommended to install all Querybook dependencies locally. However, you can also leverage VSCode's Remote-Container plugin to develop directly inside the docker container (code changes will be auto-synced back with volumes).
If you do decide to develop locally, please make sure you have the following python and node versions available locally:
- Python: ~3.7
- Node: >=12
If you do not have the compatible version, we recommend the following methods to install the compatible versions required by Querybook.
THIS PART IS IMPORTANT! This is required so that pre-commit hook can be used correctly.
Run the following command
If you want to bypass cookie of upsteam do this