Coder Social home page Coder Social logo

dhuniwien / stemmaweb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tla/stemmaweb

0.0 1.0 0.0 18.11 MB

Catalyst interface and online tools for stemmatology research

Dockerfile 0.13% Perl 47.57% Perl 6 2.17% CSS 4.14% JavaScript 45.99%

stemmaweb's Introduction

Stemmaweb - a Catalyst webservice for text tradition analysis

Stemmaweb is a web application, developed in Perl (using the Catalyst framework) and Javascript (using JQuery), for analysis of the copying relationships (stemmatology) between different manuscript versions of the same text.

Trying it out

A Dockerfile is included in the repository, which will set up a test version of Stemmaweb on an Ubuntu 14.04 LTS virtual server, listening on port 3000. If you want to install a production version, read on below.

Installation

To run Stemmaweb you need a working Perl installation (5.12 or above) and, preferably, a working webserver. The following steps will get you set up to run the standalone service:

  • Ensure that the following software is installed (the list given is that of the relevant Ubuntu packages):

    • gcc
    • make
    • libxml2-dev
    • zlib1g-dev
    • libexpat1-dev
    • graphviz
    • libssl-dev
    • libgmp-dev
  • Install the following Perl modules:

    • App::cpanminus
    • Module::Install::Catalyst
  • Install the dependencies for Stemmaweb from this directory:

      cd /PATH/TO/stemmaweb && cpanm -S --installdeps .
    
  • Make a test database (which relies on SQLite being installed) and test the installation at http://localhost:3000/ :

      script/maketestdb.pl
      script/stemmaweb_server.pl
    
  • If you only want to test Stemmaweb, then you are done! Otherwise, create a database for the storage of text tradition data. This can be anything supported by Perl's DBI, so long as you have the database software and relevant DBD::* drivers installed.

  • Replace the database settings in stemmaweb.conf with the settings for your database. If you are using MySQL, for example, the contents of the stanza might look like this:

      <model_args>
      dsn dbi:mysql:dbname=stemmaweb;host=DB_HOSTNAME
      <extra_args>
      	user STEMMAWEB_USER
      	password STEMMAWEB_PASS
      	<dbi_attrs>
      		mysql_enable_utf8 1
      	</dbi_attrs>
      </extra_args>
      </model_args>
    
  • (Optionally) configure Stemmaweb to run under FastCGI, Starman, or any other Catalyst-compatible application framework. See http://www.catalystframework.org for more information. The provided stemmaweb.psgi was written to work with Starman running behind Apache on a specified non-root URL path.

stemmaweb's People

Contributors

tla avatar jorisvanzundert avatar errietta avatar castaway avatar phaylon avatar edenc avatar seretan avatar jubalbarca 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.