Skip to content

Dev Backend & datastore

Stig Norland edited this page Oct 2, 2018 · 18 revisions

Pre requirements for running backend

  • An instance of a sql server, this project is configured to run on Postgres, this can be changed in the project configuration file application.properties, if another brand of server is required
    • You will need to configure database name, server name and login details.
    • And create an empty database for Qddt
  • java openJDK 1.8
  • gradle +4.4

Installation

After fetching the sourcecode ZIP or via git, build the solution with gradlew build and run with gradlew bootRun

After you have started the server, but before running the solution for the first time, it is best to run initsqlscript on the database you want to contain qddt data. initSql-script. This will populate the database with default Users, Groups, Agency & lookup tables. All default users have password set to password