Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reproducible and automatically configure development environments #286

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

expelledboy
Copy link

To rapidly onboard new developers its best to provide a reproducible development environment.

This PR achieves the following:

  • deterministic system dependencies using nixpkgs via ./flake.nix
  • automatic repo setup via shellHook in ./flake.nix using cached direnv via nix-direnv
  • lint checks using ruff both as git pre-commit and .github/workflow/test.yml for PRs and merges to master
  • identified and provided repo tasks via Justfile (only 2 atm, but likely to grow)

Concerns

I couldnt download the 300+ GB model, so havent tested the download-weights task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants