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 isDevelopment = environment == Environments.Development;
|
||||
return "appSettings" + (isDevelopment ? ".Development" : "") + ".json";
|
||||
return "appsettings" + (isDevelopment ? ".Development" : "") + ".json";
|
||||
}
|
||||
|
||||
public static async Task Main(string[] args)
|
||||
|
@ -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.
|
Loading…
x
Reference in New Issue
Block a user