From f7e071dd3451c927c32c80ff7533b16ce27d953e Mon Sep 17 00:00:00 2001 From: Joseph Milazzo Date: Wed, 19 May 2021 06:20:09 -0500 Subject: [PATCH] More build flavors for Raspberry Pi users and updated Install since we don't need users to set their own JWT Token Key. Update a typo in appsettings.json file for prod. --- API/Program.cs | 2 +- INSTALL.txt | 4 ++-- build.sh | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/API/Program.cs b/API/Program.cs index b773733b5..d3091c0ea 100644 --- a/API/Program.cs +++ b/API/Program.cs @@ -30,7 +30,7 @@ namespace API { var environment = Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT"); var isDevelopment = environment == Environments.Development; - return "appSettings" + (isDevelopment ? ".Development" : "") + ".json"; + return "appsettings" + (isDevelopment ? ".Development" : "") + ".json"; } public static async Task Main(string[] args) diff --git a/INSTALL.txt b/INSTALL.txt index a8b83f905..a7d2bd1bc 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -1,5 +1,5 @@ How to Install 1. Unzip the archive to a directory that is writable. If on windows, do not place in Program Files. 2. (Linux only) Chmod and Chown so Kavita can write to the directory you placed in. -3. Open appsettings.json and modify TokenKey to a random string ideally generated from https://passwordsgenerator.net/ -4. Run Kavita executable \ No newline at end of file +3. Run Kavita executable. +4. Open localhost:5000 and setup your account and libraries in the UI. \ No newline at end of file diff --git a/build.sh b/build.sh index d10013968..043cb559f 100644 --- a/build.sh +++ b/build.sh @@ -105,6 +105,10 @@ then cd "$dir" Package "net5.0" "linux-x64" cd "$dir" + Package "net5.0" "linux-arm" + cd "$dir" + Package "net5.0" "linux-arm64" + cd "$dir" Package "net5.0" "linux-musl-x64" cd "$dir" Package "net5.0" "osx-x64"