Coder Social home page Coder Social logo

skippynor / culture-hub Goto Github PK

View Code? Open in Web Editor NEW

This project forked from delving/culture-hub

0.0 1.0 0.0 168.19 MB

The Delving Search and Administrative Interface

License: Apache License 2.0

Scala 31.89% JavaScript 46.03% Java 0.45% HTML 7.38% Mathematica 0.08% NewLisp 0.77% SystemVerilog 0.86% Shell 0.05% CSS 11.13% XSLT 1.37%

culture-hub's Introduction

CultureHub

The CultureHub is a platform that aims at making cultural objects accessible online. More information at http://delving.eu

Getting started

Installing system dependencies

MAC OS X

brew install mongodb
brew install graphicsmagick

One-time set-up

  • get the Play! 2 framework at http://www.playframework.org and make sure the play script is in your environment PATH

  • configure the subdomains for testing in your /etc/hosts file by adding e.g.:

    127.0.0.1 delving.localhost

Running the application - development mode

Run the application via

play run

If you want to use a custom configuration file for development, use

play run -Dconfig.file=conf/development.conf

The development.conf file can include the default configuration via

include "application.conf"

Running the tests

Run the tests via

play test

Running Apache Solr

To use Apache Solr run ant startSolr. Use ant stopSolr in order to stop it.

Running the Image Server

In order to use the advanced image viewer, you need to run IIPImage (http://iipimage.sourceforge.net) on your system.

This is how:

  • install the iipsrv module by running sh extras/install-iipsrv-osx.sh. This will download a couple of files and compile the module for you
  • once you have compiled the module you can run it via cd extras/iipsrv-0.9.9/fcgi && ./iipsrv.fcgi --bind 127.0.0.1:7000
  • you also need to run a connector for FastCGI. Normally this happens in a web server but for convenience you can also do this without additional installation by running cd extras/servlet-server && java -jar start.jar
  • now you are ready to go and use the advanced image viewer

Selenium tests on a build server

In order to run the selenium tests that use the Chrome driver, you'll need to do the following on a build-server (debian / ubuntu):

  • install chromium and xvfb: aptitude install chromium-browser xvfb
  • edit /etc/chromium-browser/default and set CHROMIUM_FLAGS="--display:1"
  • for Jenkins, install the xvfb plugin and use it in your build

culture-hub's People

Contributors

manuelbernhardt avatar zemyatin avatar kiivihal avatar geralddejong 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.