Installation¶
RepoWatch is written in Java, so the installation is rather straightforward. You need a Java web container like Tomcat or Jetty, to run the WAR file on. The configuration is completely done by JNDI. You will also need a Hibernate compliant database. RepoWatch is tested with Postgres and HSQLDB, and was reported to also run on MySQL.
JNDI configuration¶
RepoWatch expects two JNDI resources:
jdbc/RepowatchDS: This is ajavax.sql.DataSourcefor the database to be used.hibernate/RepowatchDS: This is ajava.util.Propertieswith further properties to be used by Hibernate (e.g. the dialect).
Database setup¶
When setting the Hibernate property hibernate.hbm2ddl.auto to update for the first run, the database tables are created automatically. There is (for now) no need for further initialization steps. The database is properly set up now.