1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-30 19:58:39 +00:00

README: update linux build instructions

This commit is contained in:
kaso17 2018-12-24 13:48:40 +01:00
parent b8a9eef6cf
commit 56433c5aa3

View file

@ -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