From 56433c5aa3a8cdbbf7f2524bfc5015eee4aab204 Mon Sep 17 00:00:00 2001 From: kaso17 Date: Mon, 24 Dec 2018 13:48:40 +0100 Subject: [PATCH] README: update linux build instructions --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f3808ee85..cc6e0d467 100644 --- a/README.md +++ b/README.md @@ -475,10 +475,17 @@ NOTE: if you get the error "NU1102: Unable to find package Microsoft.AspNetCore ### Linux + ```bash -sudo apt install mono-complete nuget msbuild # install build tools (debian/ubuntu) +sudo apt install mono-complete nuget msbuild dotnet-sdk-2.2 # install build tools (debian/ubuntu) git clone https://github.com/Jackett/Jackett.git cd Jackett/src + +# dotnet core version +dotnet publish Jackett.Server -f netcoreapp2.2 --self-contained -r linux-x64 -c Debug # takes care of everything +./Jackett.Server/bin/Debug/netcoreapp2.2/linux-x64/JackettConsole # run jackett + +# mono version (currently broken) nuget restore Jackett.sln # prepare dependencies msbuild Jackett.Server/Jackett.Server.csproj /t:Build /p:Configuration=Debug # compile mono Jackett.Server/bin/Debug/JackettServer.exe # run jackett