- python version manager like pyenv.
- python package manager like uv.
uv venv
uv pip install -r requirements.txt && uv pip install -r dev-requirements.txt
- setup postgresql container (run
docker compose up -d
in the project root directory.) - Installing stocklake (run
uv pip install -e .
in the project root directory.)
Please modify stocklake/stores/db/models.py
.
stocklake database autogenerate-revision --message "Your migration message"
stocklake database upgrade