Skip to content

milanbella/gaos

Repository files navigation

Database

See [https://learn.microsoft.com/en-us/ef/core/managing-schemas/migrations/?tabs=dotnet-core-cli] (https://learn.microsoft.com/en-us/ef/core/managing-schemas/migrations/?tabs=dotnet-core-cli) See [https://learn.microsoft.com/en-us/ef/core/cli/dotnet] (https://learn.microsoft.com/en-us/ef/core/cli/dotnet)

Drop Existing Database

> dotnet ef database drop

Migrate Database

> rm -r Migrations
> dotnet ef migrations add InitialCreate
> dotnet ef database update

Run

> dotnet run --launch-profile https

or

$Env:ASPNETCORE_ENVIRONMENT = "Development"
dotnet run --no-launch-profile --urls="https://localhost:7070"

Build Release

> dotnet publish --configuration Release
> chown -R gaos:gaos /opt/gaos/bin/Release/net7.0/publish

About

galactic odyssay server backend api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages