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.

This commit is contained in:
Joseph Milazzo 2021-05-19 06:20:09 -05:00
parent 68268f567b
commit f7e071dd34
3 changed files with 7 additions and 3 deletions

View File

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

View File

@ -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
3. Run Kavita executable.
4. Open localhost:5000 and setup your account and libraries in the UI.

View File

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