- Run
dotnet restore
- Guarantee that you have Entity Framework Core installed globally
dotnet tool install --global dotnet-ef
If you are using Linux, maybe you will need to add the dotnet-ef to your path. Like this:
sudo nano .bashrc # or sudo nano .zshrc # Append this to the bottom of the file export PATH="$PATH:$HOME/.dotnet/tools/"
- If this is your first time running the project execute
./migration-helper.ps1
and select the option3. Update Database
If you are using Linux, you can run the script using the PowerShell Core. Install PowerShell on Linux
- Run the API with
dotnet run