Skip to content

Commit 3742f0c

Browse files
authored
Enhance connection string update instructions in README
Formatted based on existing font readme style
1 parent a9531d5 commit 3742f0c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ Continuous deployment: https://ci.simplcommerce.com
2929

3030
#### Steps to run
3131

32-
- Update the connection string in appsettings.json in SimplCommerce.WebHost
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:
36+
`"DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=SimplCommerce;Trusted_Connection=True;TrustServerCertificate=true;MultipleActiveResultSets=true"`
3337
- Build the whole solution.
3438
- In Solution Explorer, make sure that SimplCommerce.WebHost is selected as the Startup Project
3539
- 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)