Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 663 Bytes

DEVELOP.md

File metadata and controls

32 lines (27 loc) · 663 Bytes

Development Sandbox

Start CrateDB.

docker run --rm -it --name=cratedb \
  --publish=4200:4200 --publish=5432:5432 \
  --env=CRATE_HEAP_SIZE=2g crate:latest -Cdiscovery.type=single-node

Install Python package and project manager [uv].

{apt,brew,pip,zypper} install uv

Set up Python environment and install requirements.

uv venv --python=python3.12
uv pip install --prerelease=allow --upgrade -r requirements.txt -r requirements-dev.txt

Invoke linters and software tests.

source .venv/bin/activate
poe check

Run individual software tests.

pytest -k multi
pytest -k timeseries
pytest -k vector