A river basin consists of many streams...
Makefile
-> Repo setup & management automation.github
-> Github Actions workflowswarehouse
-> DBT project which builds our BigQuery data warehouseorchestrator
-> Dagster Assets/Schedules/Dockerfile
- Install Python 3.11.5 and create virtual environment:
- Install pyenv and pyenv-virtualenv to manage python versions and virtual environments
brew install pyenv pyenv-virtualenv
(See pyenv for details) - Once you have pyenv installed, you can install the correct Python version with
pyenv install 3.11.5
(if pyenv does not know about 3.11.5, you need to upgrade itbrew upgrade pyenv
orpyenv update
) - Create the python virtual environment
pyenv virtualenv 3.11.5 mitos-dev
. This will create a virtual environment in the location:~/.pyenv/versions/3.11.5/envs/mitos-dev
. - Set your IDE's python interpreter path to
~/.pyenv/versions/3.11.5/envs/mitos-dev/bin/python
- Alternatively, you may use other environment tools like
conda
andpoetry
- Install pyenv and pyenv-virtualenv to manage python versions and virtual environments
- Inside the python virtual environment, run
pip install —-upgrade pip
- Inside the python virtual environment, run
make setup-dev
to install all project dependencies
- Install pre-commit into your Python environment with
pip install pre-commit
and runpre-commit install
to install the pre-commit hooks. This will runblack
,flake8
,pytest
, and other project tools on your code before you commit it.