Skip to content

Latest commit

 

History

History
19 lines (18 loc) · 1.12 KB

README.md

File metadata and controls

19 lines (18 loc) · 1.12 KB

FileDistributionService

Steps for successful run

  1. Clone the repo to your local computer
  2. Open Visual Studio or an IDE of your choice
  3. In FileDistributionService\FileDistributionService\appsettings.json in ConnectionStrings in DefaultConnection enter your desired server name where the db will be hosted
  4. In Solution Explorer set your startup project to be FileDistributionService
  5. In the Package Manager Console choose the default project to be Persistence
  6. Run:
  • Add-Migration Initial
  • Update-Database
  1. Once the database has been created you can start the back end API project
  2. From Visual Studio Code or from command prompt navigate to "FileDistributionService\file-distribution-service-ui" folder
  3. Run "npm i" in the console
  4. in appsettings.json change the value of apiendpoint key to your API endpoint. For example "https://localhost:7040/api/"
  5. Then run "npm start"
  6. The front end app will open in your default broswer
  7. Login with username and password from the file FileDistributionService/Controllers/AccountController.cs. You can also use "admin", "admin" as default
  8. Now you can use the app