.\CreateDB.{ps1,sh}
dotnet run --project .\MiniTwit\MiniTwit\Server
localhost:7089
(This does not fully work yet and needs to be changed)
dotnet dev-certs https -ep <path to output?> -p <a strong password> --trust
dotnet user-secrets set "Kestrel:Certificates:Development:Password" "$connectionString" --project <path to server>
dotnet publish .\MiniTwit\Server\ --os linux --arch x64 -c Release -p:PublishProfile=DefaultContainer --no-self-contained
dotnet run -it --rm minitwit-server:1.0.0
This currently requires a person to do something, but would be updated to run from a script, how to do it using actions is unclear.
docker run --name MiniTwit-db -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=<our strong password>" -p 1433:1433 -d mcr.microsoft.com/azure-sql-edge:latest
dotnet ef database update -p ./MiniTwit/Server/
this should be changed.