Skip to content

MarioVeloso/addis-core

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

addis-core

ADDIS 2.x core

Make sure the SASS and Bower submodules are present:

git submodule init
git submodule update

Make sure you've run make in the src/main/webapp/resources directory first to generate the CSS.

Make sure you have the bower components needen by running bower install from the root of the repository

Running with PostgreSQL

Set up the database:

sudo -u postgres psql -c "CREATE USER addiscore WITH PASSWORD 'develop'"
sudo -u postgres psql -c "CREATE DATABASE addiscore ENCODING 'utf-8' OWNER addiscore"

Set up the environment: (NB: the Patavi URI assumes caching of patavi results via addis. If that is not desired omit /staged/)

export TRIPLESTORE_BASE_URI=http://localhost:3030
export PATAVI_URI=http://localhost:3000/ws/staged/

export ADDIS_CORE_DB_CHANGELOG=database.sql
export ADDIS_CORE_DB_DRIVER=org.postgresql.Driver
export ADDIS_CORE_DB_URL=jdbc:postgresql://localhost/addiscore
export ADDIS_CORE_DB_USERNAME=addiscore
export ADDIS_CORE_DB_PASSWORD=develop
export ADDIS_CORE_OAUTH_GOOGLE_SECRET=HU_-JxoYUvMbvk4vVRMhHibI
export ADDIS_CORE_OAUTH_GOOGLE_KEY=201346854981-3pcdhh96orc3lcdr8k4i1u58pvepjme4.apps.googleusercontent.com

Run the Tomcat server (using the exact version of the plugin for which the system properties have been configured):

mvn org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run

To run integration tests:

mvn test -Dtest=*IT

About

ADDIS 2.x core

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 49.4%
  • Java 35.2%
  • JavaScript 12.2%
  • HTML 3.1%
  • Other 0.1%