Update readme
This commit is contained in:
parent
2906f88a7c
commit
e963476f71
17
README.md
17
README.md
@ -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
|
||||
|
504
web-app/package-lock.json
generated
504
web-app/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user