Update readme

This commit is contained in:
Christopher J. Walker 2024-02-29 10:42:19 -05:00
parent 2906f88a7c
commit e963476f71
2 changed files with 170 additions and 351 deletions

View File

@ -12,9 +12,9 @@ Fork this project to your personal repo and commit all your changes to that bran
## Changes for Running Locally
Update the connection string in the class <project root>\Web\Infrastructure\Database.cs.
Update the connection string in the class <project root>\Api\Infrastructure\Database.cs.
Change the AttachDbFile name to the full path of the BrainWare.mdf file (located under <project root>\Web\App_Data\).
Change the AttachDbFile name to the full path of the BrainWare.mdf file (located under <project root>\Api\Data\).
## Original Output Example
@ -32,9 +32,18 @@ Change the AttachDbFile name to the full path of the BrainWare.mdf file (located
- You can also deploy the project ProjectDB to your local SQL Server instance
- Then execute in SQL Server Management Studio the file BrainWare\ProjectDB\PopulateDB.sql
### Visual Studio
### API - Visual Studio
- Open solution BrainWare\BrainWare.sln
- Update the database connection string in file Web\Infrastructure\Database.cs
- Set the project Web, as the start up project
- Press F5
- Expected a browser is open with the result of the first order
### API - VS Code or Command Line
- Open Brainware folder
- dotnet run --project=./Api
### Web App - VS Code or Command Line
- Open Brainware folder
- cd .\web-app\
- npm install
- npm start

File diff suppressed because it is too large Load Diff