mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-09 03:04:19 -04:00
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:
parent
68268f567b
commit
f7e071dd34
@ -30,7 +30,7 @@ namespace API
|
|||||||
{
|
{
|
||||||
var environment = Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT");
|
var environment = Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT");
|
||||||
var isDevelopment = environment == Environments.Development;
|
var isDevelopment = environment == Environments.Development;
|
||||||
return "appSettings" + (isDevelopment ? ".Development" : "") + ".json";
|
return "appsettings" + (isDevelopment ? ".Development" : "") + ".json";
|
||||||
}
|
}
|
||||||
|
|
||||||
public static async Task Main(string[] args)
|
public static async Task Main(string[] args)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
How to Install
|
How to Install
|
||||||
1. Unzip the archive to a directory that is writable. If on windows, do not place in Program Files.
|
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.
|
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/
|
3. Run Kavita executable.
|
||||||
4. Run Kavita executable
|
4. Open localhost:5000 and setup your account and libraries in the UI.
|
4
build.sh
4
build.sh
@ -105,6 +105,10 @@ then
|
|||||||
cd "$dir"
|
cd "$dir"
|
||||||
Package "net5.0" "linux-x64"
|
Package "net5.0" "linux-x64"
|
||||||
cd "$dir"
|
cd "$dir"
|
||||||
|
Package "net5.0" "linux-arm"
|
||||||
|
cd "$dir"
|
||||||
|
Package "net5.0" "linux-arm64"
|
||||||
|
cd "$dir"
|
||||||
Package "net5.0" "linux-musl-x64"
|
Package "net5.0" "linux-musl-x64"
|
||||||
cd "$dir"
|
cd "$dir"
|
||||||
Package "net5.0" "osx-x64"
|
Package "net5.0" "osx-x64"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user