Skip to content

Commit 45e2248

Browse files
committed
Merge branch 'JayanthT7-patch-2'
2 parents a9531d5 + 785bcd6 commit 45e2248

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,20 @@ 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+
The default is configured for a local SQL Server
34+
```json
35+
{
36+
"DefaultConnection": "Server=.;Database=SimplCommerce;Trusted_Connection=True;TrustServerCertificate=true"
37+
}
38+
```
39+
If you are using Visual Studio LocalDB, change it to
40+
```json
41+
{
42+
"DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=SimplCommerce;Trusted_Connection=True;TrustServerCertificate=true;MultipleActiveResultSets=true"
43+
}
44+
```
45+
- 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.
3346
- Build the whole solution.
3447
- In Solution Explorer, make sure that SimplCommerce.WebHost is selected as the Startup Project
3548
- 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)