Configuration wizard for a Neurobagel deployment.
-
Set up a Python environment. We use
uvfor this. -
Clone the repository
git clone https://github.com/neurobagel/configure-nb.git cd configure-nb -
Install the CLI and all development dependencies in editable mode:
uv sync --group dev
-
To run
configure-nbduring development, you can run it directly withuv:uv run configure-nb [OPTIONS]
Confirm that everything works by running the tests:
uv run pytest
pre-commit is configured in the development environment for this repository, and can be set up to automatically run a number of code linters and formatters on any commit you make according to the consistent code style set for this project.
Inside the repo, run the following to install the configured pre-commit "hooks":
uv run pre-commit installpre-commit will now run automatically whenever you run git commit.