This project serves as a starter template for any Flyte project.
Instructions for setting up the project and tools (including flyte
) needed to compile and run the project.
-
Optionally use
pyenv
to manage different versions of python on your machine.brew install pyenv # Follow the post-install instructions for pyenv pyenv install --list # List of available python versions to install pyenv install 3.11.9 pyenv global 3.11.9
-
Go to the root directory of this flyte project and create a virtual environment.
python -m venv .venv source .venv/bin/activate
-
Install
make
.brew install make
-
Install the tools and packages.
make install
-
Run the workflow locally.
make run
-
Run the unit tests.
make test
- Consider using
poetry
instead ofmake
. - Right now, the tools needed by this project are installed in the virtual environment. Consider installing to the user directory.
- Separate the installation of packages from the installation of tools.