Build the Project
Building
Build everything (backend + frontend + docs + samples, etc.):
make build
Build only the backend:
make build_backend
Build only the frontend:
make build_frontend
Build with test coverage instrumentation:
make build_with_coverage
This will run unit tests, build with coverage flags, run integration tests, and generate a combined coverage report.
Building without Consent Server
By default, the build process downloads and packages the default consent server. If you want to skip this step, use the WITHOUT_CONSENT flag:
Using Make (Cross-platform)
# Build and test bypassing consent
make build WITHOUT_CONSENT=true
make test_integration WITHOUT_CONSENT=true
Using Bash (Linux/macOS)
./build.sh build --without-consent
Using PowerShell (Windows)
.\build.ps1 build --without-consent
Using Docker
docker build --build-arg WITH_CONSENT=false -t thunderid:latest .
If you build without the consent server, you must also disable it when running setup and starting the server, as the scripts default to WITH_CONSENT=true. Run setup and start with the appropriate flag for your platform:
Bash (Linux/macOS)
./setup.sh --without-consent
./start.sh --without-consent
PowerShell (Windows)
.\setup.ps1 --without-consent
.\start.ps1 --without-consent
Make
make run WITHOUT_CONSENT=true
Docker (environment variable)
docker run -e WITH_CONSENT=false thunderid:latest