Wiki

Clone wiki

BibSonomy / development / features / UpdateScript

The update script updates (semi) automatically a BibSonomy/PUMA instance.

points to be considered:

database schema changes

implementation

transfer migration files in the repo with the update => submit each migration file to the repo!

open questions

  • how gets the update script the database connection ** ask user command line

new database

New database must be created with accounts that are allowed to create databases.

open questions

  • 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.

implementation

?

open questions

update WAR

implementation

Simple? Delete folder and war in webapps dir and copy war there + restart tomcat

open questions

  • use tomcat command tool

Updated