@@ -112,29 +112,35 @@ Přepočet bodů na konkrétní známky odpovídá standardům vysokých škol.
112
112
113
113
1 . Copy the project
114
114
115
- 2 . Create a database in your local SQL server
115
+ 2 . Install MSSQL Server and run it or run your MSSQL Docker Image
116
+ - ` docker pull mcr.microsoft.com/mssql/server:latest `
117
+ - ` docker run -e "ACCEPT_EULA=Y" -e "MSSQL_SA_PASSWORD=yourStrong(!)Password" -p 1433:1433 -d mcr.microsoft.com/mssql/server:2022-latest `
118
+ - See how to use section in https://hub.docker.com/_/microsoft-mssql-server
119
+
120
+ 3 . Create a database in your local SQL server
121
+
116
122
117
123
` Create Database "STAG-AUIUI-P8VT" `
118
124
119
- 3 . Change your connection string in your ` appsettings.json `
125
+ 4 . Change your connection string in your ` appsettings.json `
120
126
121
127
``` js
122
128
" ConnectionStrings" : {
123
- " Database" : " Data Source=localhost;Initial Catalog=STAG-AUIUI-P8VT;Integrated Security=false;User ID=sa;Password=SQLServer1 ;TrustServerCertificate=true"
129
+ " Database" : " Data Source=localhost;Initial Catalog=STAG-AUIUI-P8VT;Integrated Security=false;User ID=sa;Password=yourStrong(!)Password ;TrustServerCertificate=true"
124
130
},
125
131
```
126
132
127
- 4 . Build the application via ` dotnet build`
133
+ 5 . Build the application via ` dotnet build`
128
134
129
- 5 . Run the application via IDE or ` dotnet run`
135
+ 6 . Run the application via IDE or ` dotnet run`
130
136
131
- 6 . Maybe you will need to install dev certificates
137
+ 7 . Maybe you will need to install dev certificates
132
138
` dotnet dev-certs https `
133
139
134
- 7 . This will run both backend and frontend as one application
140
+ 8 . This will run both backend and frontend as one application
135
141
- The ASP .NET server will serve as a host to both API and frontend
136
142
137
- 8 . In ` Fetch Data` page you can see some data being pull from API , this data is stored in database an has been seeded via a migration.
143
+ 9 . In ` Fetch Data` page you can see some data being pull from API , this data is stored in database an has been seeded via a migration.
138
144
139
145
### How to debug (in VS Community)
140
146
0 commit comments