Getting Started
First Steps
Section titled “First Steps”-
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 developThis 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 showThe output shows you what packages you can build.
-
Build a package with nix build, such as:
Terminal window nix build .#givc-agentnix build .#givc-adminnix build .#givc-cliNote: 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