Files
Flypaper/docs/development.md
T
2026-11-15 12:50:10 +01:00

1.1 KiB

Development

Requires the .NET 10 SDK.

dotnet build
dotnet test
dotnet run --project src/Flypaper.Web

dotnet run starts in the Development environment: the dashboard is at http://localhost:5248 (password dev), the trap at http://localhost:5247, the database is src/Flypaper.Web/flypaper.db, and GeoIP is off unless Flypaper__GeoIp__Directory is set. docker build -t flypaper . builds the image.

Project Contents
Flypaper.Core Protocol-independent core: sessions, governor, strategies, settings
Flypaper.Http ASP.NET Core middleware, trap matching, forwarded headers
Flypaper.GeoIp DB-IP download and lookups
Flypaper.Storage EF Core with SQLite, event writer, retention, dashboard queries
Flypaper.Web Host, dashboard and settings (Blazor static SSR)
Flypaper.Tests xUnit, NSubstitute, Shouldly

The files in deploy/unraid/ and .gitea/workflows/ are the author's personal deployment (Gitea Actions to Unraid) and release pipeline. They are an example only and not needed to run Flypaper.