/PetHome

Primary LanguageC#MIT LicenseMIT

PetHome

Navigate to src/view folder.

Getting Started

Once you've cloned the repository

  • Copy sample.appsettings.Development.json to appsettings.Development.json.
  • Update the connection string for your database.
  • Set the Seed/ManagerPW to a valid password (Numbers, letters, upper/lower case)
  • DO NOT add settings to appsettings.json

From a command line / Powershell

  • Navigate to the view project (i.e. c:\dev\pethome\src\view)
  • After first checkout
> dotnet run /seed

When the database is ready

> dotnet build
> dotnet run

When checking out a branch

Cleaning your node_modules directory is probably a good idea. From the command line;

> yarn clean
> yarn install

In Visual Studio Code

  • After opening the solution
  • Open Package Manager Console
> Update-Database -Context IdentityContet
> Update-Database -Context ApplicationContext

Start Debugging

global.json

When not using Visual Studio, you may need to cap the version of .NET Core. Use a global.json file to set it to 2.2.300.