Try it out at buzzoff.princess.software!
-
Make sure you have the latest .NET 6.0 SDK.
-
Clone the repo to your machine.
-
cd Server
. You'll be doing the rest of this from in here. -
Run
dotnet run --configuration Release
to compile and run the server. You'll be given your choice of two addresses to point your browser at. If you want to use the HTTPS endpoint, you'll have to rundotnet dev-certs https --trust
first. -
If you want to deploy this to some other server with just the .NET runtime, you'll want to
dotnet publish --configuration Release
, copy the folder to where you want it, and and rundotnet BuzzOff.Server.dll
there.
-
Open
BuzzOff.sln
. -
Hit F5 and watch it go.
-
If you want the git hash and build date on the landing page to be accurate, have your CI system replace the strings
@@GIT_HASH@@
and@@BUILD_TIME@@
in BuildHash.cs. I use twosed
commands. -
If you want to run this in an Azure app service, you can enable Application Insights by giving it an application setting named
APPINSIGHTS_INSTRUMENTATIONKEY
with your App Insights instrumentation key as the value.