- Follow to INSTALL.md
- Install .NET Core https://www.microsoft.com/net/learn/get-started/windows
- Go to the Package Manager Console
- Select default project ThreeTrees.Metrics.DataAccess
- Run this command
Update-Database
- Copy default appsettings
copy ./tools/appsettings.default.json ./tools/appsettings.json
- Install .NET Core https://www.microsoft.com/net/learn/get-started/linuxubuntu
- Configure
(cd ./src/ThreeTrees.Metrics.DataAccess && dotnet add package Microsoft.EntityFrameworkCore.Design)
(cd ./src/ThreeTrees.Metrics.DataAccess && dotnet add package Microsoft.EntityFrameworkCore.Tools)
(cd ./src/ThreeTrees.Metrics.DataAccess && dotnet add package Microsoft.EntityFrameworkCore.Tools.DotNet)
(cd ./src/ThreeTrees.Metrics.DataAccess && dotnet restore)
(cd ./src/ThreeTrees.Metrics.DataAccess && dotnet ef database update)
- Build
cp ./tools/appsettings.default.json ./tools/appsettings.json
dotnet build ./src/ThreeTrees.Metrics.Web/ThreeTrees.Metrics.Web.csproj -c Release
- Startup
(cd ./src/ThreeTrees.Metrics.Web/bin/Release/netcoreapp2.0 && dotnet ThreeTrees.Metrics.Web.dll)