Bugfix/appsettings (#229)
* 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
50af2f8ca5
commit
3c375da10c
3 changed files with 7 additions and 3 deletions
|
@ -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.
|
4
build.sh
4
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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue