The update script updates (semi) automatically a BibSonomy/PUMA instance.
points to be considered:
database schema changes
transfer migration files in the repo with the update => submit each migration file to the repo!
- how gets the update script the database connection ** ask user command line
New database must be created with accounts that are allowed to create databases.
- Where do we get these credentials?
- context.xml must be updated (use defaults for username and password)
database migration scripts
From time to time the database must be adapted using scripts; sql statements would be to complex.
Simple? Delete folder and war in webapps dir and copy war there + restart tomcat
- use tomcat command tool