diff --git a/PiwigoDirectorySync/AppSettings.cs b/PiwigoDirectorySync/AppSettings.cs index b89f87c..ce8a7b9 100644 --- a/PiwigoDirectorySync/AppSettings.cs +++ b/PiwigoDirectorySync/AppSettings.cs @@ -10,7 +10,6 @@ internal static class AppSettings .AddJsonFile("appsettings.json", true) .AddJsonFile(Path.Combine(Environment.CurrentDirectory, "appsettings.json"), true) .AddJsonFile("/etc/PiwigoDirectorySync/appsettings.json", true) - .AddUserSecrets(true) .AddEnvironmentVariables() .Build(); diff --git a/PiwigoDirectorySync/PiwigoDirectorySync.csproj b/PiwigoDirectorySync/PiwigoDirectorySync.csproj index b118fce..7d4ff49 100644 --- a/PiwigoDirectorySync/PiwigoDirectorySync.csproj +++ b/PiwigoDirectorySync/PiwigoDirectorySync.csproj @@ -9,6 +9,8 @@ true Linux c68c0447-8c7d-4e88-bcc6-96a9853828c7 + 1.0.0 + 1.0.0 @@ -19,7 +21,6 @@ - diff --git a/README.md b/README.md index 1a3db3a..078b392 100644 --- a/README.md +++ b/README.md @@ -9,20 +9,6 @@ Each directory level gets created as album or sub album in piwigo. In the root path you may just run the command ``dotnet tool restore`` to install all dotnet tools and extensions used in this project. -### Handle development secrets - -To make sure no local development db configuration gets committed, we use the dotnet-user-secrets tool. - -When you configure your environment for the first time and you do not like the default settings, use the following commands to set the secrets: - -`` -cd PiwigoDirectorySync -dotnet user-secrets set "Settings:DbProvider" "Sqlite" -dotnet user-secrets set "ConnectionStrings:Sqlite" "Data Source=.\piwigoSync.db" -`` - -You'll find your secrets under `~/.microsoft/usersecrets/c68c0447-8c7d-4e88-bcc6-96a9853828c7/secrets.json` - ### Docker Build the application and docker image for hosting using docker.