- .NET Core SDK 2.2.6
- Node.js 12+
- npm 6+
- Install the SDK
- Change into the project directory (that contains
Startup.cs
andbcycle-backend.csproj
) - Run
dotnet tool install --global dotnet-ef --version 2.2.6
- Run
dotnet ef database update
If dotnet ef
fails to run and complains about a missing path, go to ~/.dotnet/tools/.store/dotnet-ef, and copy 2.2.6
to the version requested by the tool (2.2.6-servicing-10079
), then go into the new directory, into dotnet-ef
, and also make a copy with the full version number.
- Generate an API key for the service account here.
- Place it in the project directory (that contains
Startup.cs
) and name itbcycle-credentials.json
- Make sure you don’t commit that file to git!