Go to file
Philipp Häfelfinger 28f4ec09f2 adds application infra and first draft of persistence entities 2023-08-29 23:54:00 +02:00
.config adds application infra and first draft of persistence entities 2023-08-29 23:54:00 +02:00
.idea/.idea.PiwigoDirectorySync/.idea initial solution creation 2023-08-29 22:37:24 +02:00
PiwigoDirectorySync adds application infra and first draft of persistence entities 2023-08-29 23:54:00 +02:00
.dockerignore initial solution creation 2023-08-29 22:37:24 +02:00
.gitignore Initial commit 2023-08-29 22:30:15 +02:00
Jenkinsfile initial solution creation 2023-08-29 22:37:24 +02:00
LICENSE Initial commit 2023-08-29 22:30:15 +02:00
NuGet.Config initial solution creation 2023-08-29 22:37:24 +02:00
PiwigoDirectorySync.sln initial solution creation 2023-08-29 22:37:24 +02:00
PiwigoDirectorySync.sln.DotSettings adds application infra and first draft of persistence entities 2023-08-29 23:54:00 +02:00
README.md adds application infra and first draft of persistence entities 2023-08-29 23:54:00 +02:00

README.md

PiwigoDirectorySync

This application synchronizes the local directory structure with piwigo servers. Each directory level gets created as album or sub album in piwigo.

Building / tooling

Restoring dotnet tools

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 "DbProvider" "MariaDb" dotnet user-secrets set "ConnectionStrings:MariaDb" "Server=localhost;User Id=photowfdev;Password=password123;Database=photowfdev"

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.

TODO: add some docker build details

Publish

Build the application for manual installation using publish.

TODO: add some publish details