Developers¶
Set Up Development Environment¶
Git clone the repository:
$ git clone git@github.com:kids-first/kf-lib-data-ingest.git
Create and activate virtual environment:
$ python3 -m venv venv $ source venv/bin/activate
Install kf-lib-data-ingest along with dependencies:
$ pip install -e .
Install dev requirements:
$ pip install -r dev-requirements.txt
Run Unit Tests¶
Use pytest to run tests:
pytest tests
Build Documentation¶
We use Sphinx to generate the reference documentation. If you would like to develop documentation, follow these steps:
Install the Python packages needed to build the documentation:
$ pip install -r doc-requirements.txt
Build the static docs site:
$ cd docs $ make html
View the docs by opening
docs/build/html/index.html
in a browser.