This project was generated using Angular CLI version 19.0.5.
To start the Hub and the Blazor payment app together, run:
npm startOpen the Hub at http://localhost:4200/. The Blazor app runs at http://localhost:5062/, matching the Hub's development payment links. Both apps watch for source changes. Press Ctrl+C to stop both servers.
The launcher expects the Blazor checkout at ../angor-blazor and a .NET 8 SDK. It uses ~/.local/share/angor-dotnet/dotnet when an SDK is installed there, otherwise dotnet from your PATH. Set ANGOR_BLAZOR_PROJECT to a different .csproj path or ANGOR_DOTNET to a different dotnet executable if needed.
Blazor runs with runtime optimizations enabled for testing the investment flow. To enable managed breakpoints, use ANGOR_BLAZOR_DEBUG=1 npm start; wallet cryptography is slower in that mode.
Use npm run start:hub to run only Angular. Angular options can still be passed through, for example npm start -- --host 0.0.0.0.
For the current investment-flow status and resume checklist, see INVESTMENT_FLOW_HANDOFF.md.
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
ng generate component component-nameFor a complete list of available schematics (such as components, directives, or pipes), run:
ng generate --helpTo build the project run:
ng buildThis will compile your project and store the build artifacts in the dist/ directory. By default, the production build optimizes your application for performance and speed.
To execute unit tests with the Karma test runner, use the following command:
ng testFor end-to-end (e2e) testing, run:
ng e2eAngular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
For more information on using the Angular CLI, including detailed command references, visit the Angular CLI Overview and Command Reference page.
To run the Docker container locally:
docker run -p 3000:3000 blockcore/angor-hub:latest