kitodo / kitodo-production

Kitodo.Production is a workflow management tool for mass digitization and is part of the Kitodo Digital Library Suite.
http://www.kitodo.org/software/kitodoproduction/
GNU General Public License v3.0
63 stars 63 forks source link

Script for updates #5688

Open matthias-ronge opened 1 year ago

matthias-ronge commented 1 year ago

If more frequent updates are up to come in the future, it should be easy to install them. The idea is to create a script that does the updates, which typically requires the following steps:

These steps could be summarized in a script. The script should read a properties file with the necessary config (paths etc.). It should be bundeled with the release files, making an update easy.

Question is, if this script should be kept in the Kitodo.Production repository, or if a separate repository should be created for it.

henning-gerhardt commented 1 year ago

This can be simplified regarding to stop and starting the Tomcat service:

I'm doing this to deploy the application on our experimental system but with 2 differences:

matthias-ronge commented 1 year ago

I don’t know if Flyway can start migrating from a random database state (previous migration steps were done without Flyway, the database schema contains custom non-Kitodo.Production tables, etc.) Maybe this can be a config option.