Skip to main content

RFiD Tracker: Getting Started

1. The Tech Stack

  • Language: Python 3.14 (Managed via Nix)
  • Framework: Django
  • Package Manager:uv(Fastest Python resolver/installer)
  • Environment:Nix(with the std library)
  • Command Runner: just ( alternative to make)

2. Setting Up the Environment

You do not need to install Python or Django manually. You only need Nix.

Step 1: Install Nix

If you don't have it, install Nix and enable "experimental features" (Flakes and Nix Command).

consider doing the latter like that:
1) sudo mkdir /root/.config/nix

2) sudoedit /root/.config/nix/nix.conf

3) In there, add this line experimental-features = nix-command flakes

Step 2: Enter the Development Shell

Navigate to the project root and run:

nix develop

What happens when you run this? Nix reads shells.nix and packages.nix to:

  1. Download and provide Python 3.14.
  2. Install system tools like curl, git, uv, and just.
  3. Set up your PATH to include the project’s virtual environment (.venv/bin).
  4. Activate a custom shell prompt (the "embed console").