added build instructions
This commit is contained in:
1 parent
ea0bc444d2
commit
ffb308dc52
1 file changed
+8
@@ -3,3 +3,11 @@ Genutze Ressourcen zum Recherchieren
|
||||
1. [Microsoft ASP.NET Core Doku](https://learn.microsoft.com/en-us/aspnet/core/tutorials/first-web-api?view=aspnetcore-10.0&tabs=visual-studio-code)
|
||||
|
||||
2. [ASP.NET mit postgres tutorial](https://dev.to/olymahmud/building-a-crud-api-with-aspnet-core-web-api-and-postgresql-p5f)
|
||||
|
||||
# Projekt starten (Linux/Docker)
|
||||
|
||||
1. `docker run --name postgres -e POSTGRES_PASSWORD=postgres --network host -d postgres`
|
||||
2. `psql -U postgres -d postgres -h localhost -p 5432 -f db/schema.sql`
|
||||
3. `cd api`
|
||||
4. `dotnet run`
|
||||
5. http://localhost:5007/swagger im Browser aufrufen
|
||||
Reference in new issue
Block a user