Giter Club home page Giter Club logo

tdar's Introduction

The Digital Archaeological Record

The Digital Archaeological Record (tDAR) is an international digital repository for archaeological investigations. tDAR’s development and maintenance are governed by Digital Antiquity, an organization dedicated to ensuring the long-term preservation of irreplaceable archaeological data and to broadening the access to these data.

For more information, please visit http://www.tdar.org

prerequisites to installing tDAR

  • Postgres 9.5 (with PostGIS extensions for production)
  • Java 8
  • Maven 3.5
  • Mercurial
  • git (for npm packages)
  • npm 5.6+
  • Chrome (for Selenium)
  • chromedriver (for selenium; in unix assumed to be in /usr/local/bin/chromedriver; if mac /Applications/chromedriver )

getting the basic environment setup

  1. check out the source from http://bitbucket.org/tdar/tdar.src
  2. do a first clean install mvn clean install -DskipTests
  3. cd "web" to move into the "web" package
  4. run mvn clean compile -Psetup-new-instance to copy template configuration files into the src/main/resources/ directory

setting up postgres

  1. install postgres with postgis extensions
  2. create tdar user with login permissions from localhost, tests assume password of 'tdar'
  3. create the following databases with tdar as the owner:
  • test_tdarmetadata
  • test_tdardata
  • tdarmetadata
  • tdardata
  • tdargis (optional, using the posgis template)

setting the tdar database

  1. run mvn clean install -DskipTests -Pliquibase-setup-dev-instance

next steps

  1. try running tdar in the web package: mvn clean compile jetty:run

testing tdar:

To run the entire tDAR test suite, which includes all unit tests, karma tests, and E2E/Selenium tests.

mvn clean verify -Ptest

Running the Karma tests exclusively

cd ./web
karma start

Running a Single E2E test

Execute a single intetration test by using the maven -Dit.test flag. The following example runs the DatasetSeleniumWebITCase suite (and skips all front-end/karma tests):

cd ./web
mvn verify -Ptest -Dit.test=DatasetSeleniumWebITCase -DskipKarma

tdar's People

Contributors

abrin avatar briancastellanos-kubra avatar jtdevos avatar alee avatar dependabot[bot] avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.