-
Notifications
You must be signed in to change notification settings - Fork 2
Installation
Miguel Porto edited this page Sep 22, 2022
·
9 revisions
- Install Tomcat
- Install ArangoDB
- Create two folders in the
webapps
folder, e.g./var/lib/tomcat9/webapps
and name them, for example,floraon-folder
andfloraon-images
- Change the owner of these two folders to
tomcat:tomcat
- Create the file
floraon.properties
in the Tomcat'swebapps
folder, e.g. in/var/lib/tomcat9/webapps
At least the following properties are required:
arango.database=<THE DB NAME TO CREATE>
arango.user=root
arango.password=<YOUR ARANGODB ADMIN PASSWORD>
folder=/var/lib/tomcat9/webapps/floraon-folder
imageFolder=/var/lib/tomcat9/webapps/floraon-images
-
Deploy Flora-On WAR file (e.g. copy
ROOT.war
to thewebapps
root and restart tomcat). The new database should be created and set up. -
Look for the Flora-On admin password in the Tomcat log. E.g.:
grep /var/log/tomcat9/catalina.out -e "Flora-On admin password:"
-
Go to your-server-name:8080 and login with user
admin
and the password above -
Start by importing the base checklist, as explained here.
This file should be created directly in the Tomcat's webapps folder, e.g. in /var/lib/tomcat9/webapps
Propery | Description |
---|---|
arango.database | The name of the database to create upon installation |
arango.user | The name of the DB user |
arango.password | The password of the DB user |
folder | The absolute location of the folder to store temporary files |
imageFolder | The absolute location of the folder to store user uploaded images |
contextPath | The web root where Flora-On was deployed. Defaults to empty |
offline |
true to not depend on remote resources like fonts |
defaultINaturalistProject | The name of iNaturalist's project from which to fetch observations |
threatsEnumeration | One of ThreatsPlants orThreatsInvertebrates
|
conservationActionEnumeration | One of ConservationActionPlants
|
redListSheetTemplate | The template for the assessment sheets. One of flora or invertebrates
|