Skip to content

Commit c2eace9

Browse files
authored
Merge branch 'master' into bugFix/jayanth/PhonetxtFields
2 parents 4dac331 + 47da931 commit c2eace9

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

README.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# A simple, cross platform, modulith ecommerce system built on .NET Core [![Join the chat at https://gitter.im/simplcommerce/SimplCommerce](https://badges.gitter.im/simplcommerce/SimplCommerce.svg)](https://gitter.im/simplcommerce/SimplCommerce?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
2+
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fsimplcommerce%2FSimplCommerce.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fsimplcommerce%2FSimplCommerce?ref=badge_shield)
23

34
## High level architecture
45

@@ -29,11 +30,20 @@ Continuous deployment: https://ci.simplcommerce.com
2930

3031
#### Steps to run
3132

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"`
33+
- Update the connection string: Open appsettings.json in src/SimplCommerce.WebHost.
34+
The default is configured for a local SQL Server
35+
```json
36+
{
37+
"DefaultConnection": "Server=.;Database=SimplCommerce;Trusted_Connection=True;TrustServerCertificate=true"
38+
}
39+
```
40+
If you are using Visual Studio LocalDB, change it to
41+
```json
42+
{
43+
"DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=SimplCommerce;Trusted_Connection=True;TrustServerCertificate=true;MultipleActiveResultSets=true"
44+
}
45+
```
46+
- 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.
3747
- Build the whole solution.
3848
- In Solution Explorer, make sure that SimplCommerce.WebHost is selected as the Startup Project
3949
- 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.
@@ -104,3 +114,6 @@ Become a sponsor and get your logo on our README on Github with a link to your s
104114
## License
105115

106116
SimplCommerce is licensed under the Apache 2.0 license.
117+
118+
119+
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fsimplcommerce%2FSimplCommerce.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fsimplcommerce%2FSimplCommerce?ref=badge_large)

0 commit comments

Comments
 (0)