- Java 8 (JDK) (https://www.oracle.com/technetwork/java/javase/downloads/index.html#JDK8)
- Maven 3.5.4+ (http://maven.apache.org/download.cgi)
- Git 2.17+
- NPM 6.4+
- bower 1.8.4 (if not on yarn branch)
- SOLR 7.3.1 (if you're not running it in 'embedded mode')
- PostgreSQL 9.5 with Postgis 2.2 (in production)
- Checkout tDAR from git https://github.com/digital-antiquity/tdar.git
- Create a tdar user in the postgres database and grant them login permissions
- Create the following normal databases: tdarmetadata and tdardata with owner "tdar"
- Create a PostGIS database: tdargis with owner "tdar"
- In the main tdar foldar, compile and install tDAR:
mvn clean install -DskipTests
. This will test that bower, npm, and maven are setup properly. It will also download all of tDAR dependencies - move into the "web directory"
cd web
- setup config files for tdar:
mvn clean compile -Psetup-new-instance
a. open the hibernate.properties in src/main/resources and edit the database names and tDAR username and password; save b.open the tdar.properties in src/main/resources and edit the properties for the various local path locations: file.store.location, personal.file.store.location, hosted.file.store.location, enable https: https.enabled=true the database names and tDAR username and password; save
- run tDAR's database setup
mvn clean install -Pliquibase-setup-dev-instance -DskipTests
in the "web" directory - register for tDAR
- in Crowd grant yourself admin permissions