Skip to content

Commit 03d30e2

Browse files
committed
Code review comments fix
1 parent 3742f0c commit 03d30e2

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,18 @@ Continuous deployment: https://ci.simplcommerce.com
2929

3030
#### Steps to run
3131

32-
- Update the connection string: Open `appsettings.json` in `src/SimplCommerce.WebHost`.
33-
- If you have SQL Server installed:
34-
`"DefaultConnection": "Server=localhost;Database=SimplCommerce;Trusted_Connection=True;TrustServerCertificate=true"`
35-
- If you do not have SQL Server, you can use Visual Studio LocalDB:
32+
- Update the connection string: Open `appsettings.json` in `src/SimplCommerce.WebHost`.
33+
- The default is configured for a local SQL Server.
34+
```json
35+
{
36+
`"DefaultConnection": "Server=.;Database=SimplCommerce;Trusted_Connection=True;TrustServerCertificate=true"`
37+
}
38+
- If you are using Visual Studio LocalDB, change it to:
39+
```json
40+
{
3641
`"DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=SimplCommerce;Trusted_Connection=True;TrustServerCertificate=true;MultipleActiveResultSets=true"`
42+
}
43+
- Ensure you have a database named `SimplCommerce` created in your SQL instance, or change the `Database` name in the connection string to match your environment.
3744
- Build the whole solution.
3845
- In Solution Explorer, make sure that SimplCommerce.WebHost is selected as the Startup Project
3946
- Open the Package Manager Console Window and make sure that SimplCommerce.WebHost is selected as the Default project. Then type "Update-Database" then press "Enter". This action will create the database schema.

0 commit comments

Comments
 (0)