Skip to content
f43nd1r edited this page Jul 28, 2020 · 2 revisions

Tomcat Setup

This guide assumes you already have tomcat set up.

1. Configure application

  1. Find the home directory of the user running the webserver (e.g. getent passwd tomcat8 returns usr/share/tomcat8 as home directory of my tomcat8 user)
  2. Create a folder named .config/acrarium in this directory (e.g. /usr/share/tomcat8/.config/acrarium)
  3. Create a file named application.properties in that directory (e.g. /usr/share/tomcat8/.config/acrarium/application.properties)

2. Setup database

See database setup.

3. Run application

Download the latest release war, then deploy it to tomcat and start it.