Philipp Häfelfinger
6e714ef77a
All checks were successful
PiwigoDirectorySync/pipeline/head This commit looks good
|
||
---|---|---|
.config | ||
.idea/.idea.PiwigoDirectorySync/.idea | ||
PiwigoDirectorySync | ||
.dockerignore | ||
.gitignore | ||
Jenkinsfile | ||
LICENSE | ||
NuGet.Config | ||
PiwigoDirectorySync.sln | ||
PiwigoDirectorySync.sln.DotSettings | ||
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 "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.
TODO: add some docker build details
Publish
Build the application for manual installation using publish.
TODO: add some publish details