988133e389
Deploy Telegram Bot / deploy (push) Has been cancelled
- Created GmRelay.Web project (Blazor Server) - Created GmRelay.Shared library for domain models and rendering - Refactored GmRelay.Bot to use the Shared library - Integrated Telegram Login widget with server-side HMAC verification - Added Dashboard, Group Details, and Edit Session pages - Enabled bot notifications and in-place message updates from web actions - Updated .NET Aspire orchestration and Docker Compose configuration
16 lines
385 B
C#
16 lines
385 B
C#
var builder = DistributedApplication.CreateBuilder(args);
|
|
|
|
var postgres = builder.AddPostgres("postgres")
|
|
.WithPgAdmin()
|
|
.AddDatabase("gmrelay-db");
|
|
|
|
builder.AddProject<Projects.GmRelay_Bot>("bot")
|
|
.WithReference(postgres)
|
|
.WaitFor(postgres);
|
|
|
|
builder.AddProject<Projects.GmRelay_Web>("web")
|
|
.WithReference(postgres)
|
|
.WaitFor(postgres);
|
|
|
|
builder.Build().Run();
|