Tiamat - HSLdevcom/jore4 GitHub Wiki
Building project
Dependencies
Tiamat depends upon the org.rutebanken.helpers, versions 1.83, 1.0.64, 1.0.62 and 1.0.61. These are not available from any maven repository and must be manually compiled by traveling backwards in the git repository using tagged releases.
The use of the aforementioned versions should be reduced to a single one, once their compatibility has been ensured.
Maven
Tiamat requires Apache Maven to build.
Tests are ran as a part of the default mvn install
-command, but will not complete using the same .properties file as the . Currently, to run tests and afterwards compile a build can be done with the following two commands:
mvn install -Dspring.config.location=src/test/resources/application.properties
mvn install -DskipTests
Database
Running Tiamat requires running a Postgresql database with PostGIS, with a corresponding application.properties -file in the project root or set as used when building the project. A working local application.properties
file is as follows:
spring.jpa.database=POSTGRESQL
spring.datasource.platform=postgres
spring.jpa.show-sql=false
spring.jpa.hibernate.ddl-auto=create
spring.database.driverClassName=org.postgresql.Driver
spring.datasource.url=jdbc:postgresql://localhost:PORT/DATABASENAME
spring.datasource.username=INSERT_USERNAME_HERE
spring.datasource.password=INSERT_PASSWORD_HERE
spring.datasource.initializationFailFast=false
spring.profiles.active=local-blobstore,activemq
spring.jpa.properties.hibernate.dialect=org.hibernate.spatial.dialect.postgis.PostgisDialect
blobstore.local.folder=~/local-gcs-storage/tiamat/export
The blobstore setting is for google cloud export, which is not used.