Skip to content

Getting Started

  • Clone the project with git:

    Terminal window
    git clone https://github.com/tiiuae/ghaf-givc
  • Run the development shell with nix develop:

    Terminal window
    nix develop

    This gives you access to the devshell that includes various tools and dependencies for development.

  • Inspect the flake with nix flake show:

    Terminal window
    nix flake show

    The output shows you what packages you can build.

  • Build a package with nix build, such as:

    Terminal window
    nix build .#givc-agent
    nix build .#givc-admin
    nix build .#givc-cli

    Note: This is only for testing purposes - packages alone will be of little to no use to you.

  • Run all tests with nix flake check:

    Terminal window
    nix flake check
  • Run individual tests in the devshell:

    Terminal window
    run-vm-test admin
  • Format code automatically with nix fmt:

    Terminal window
    nix fmt