There are two main file structure requirements for Magniv projects:
tasks/folder must exist at the root of the project. This is where all tasks will live.
- At least one
requirements.txtfile must exist in the
/tasks/ folder, your project can be structured however you wish. Magniv will recursively search for tasks to orchestrate. In projects with nested subdirectories inside of
/tasks/, Magniv will match each task with its closest
requirements.txt (moving up each directory until reaching the
Only place relevant code in the
/tasks folder. Commiting virtual environment folders and other resources may cause your build to unexpectedly fail.
Below are examples of valid file structures:
Flat project structure
Subdirectories each with individual
Subdirectories with mixed