- .NET 8+
- node.js 22+
Open Pyro.Api/Pyro.sln
in your favorite IDE or:
- Navigate to
Pyro.Api
- Run
dotnet restore
- Run
dotnet build
ordotnet run
- Navigate to
Pyro.UI
- Run
npm i
- Use
npm run start
ornpm run build
Docker creates a single image with .NET application and bundled Angular application.
docker buildx build -t pyro .
If you want to run all tests, you need to build a docker image of Pyro
. It is required for integration tests.
To run tests, you can use:
dotnet test Pyro.sln
or- your favorite IDE
This command will run tests in a docker container.
docker buildx build -t tests --target test .
docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock tests
/var/run/docker.sock
is needed for the TestContainers
library, it runs the pyro
image and tests all endpoints against it.
Note: On Windows/MacOS use -v /var/run/docker.sock.raw:/var/run/docker.sock
instead.