Giter Club home page Giter Club logo

philologic4-templates's Introduction

PhiloLogic4 templates is a powerful web app framework for the PhiloLogic4 TEI indexing library.
To get started, first make sure you've installed the library components in the libphilo repository.
Then, you'll need to install the Mako python module, the only external dependency.
With the prerequisites in place, you can begin the installation process.

Since this is a web application, not a system library, installation is a manual process--
we can't decide the apprpriate place to install it on your system.  

At the very minimum, you'll need to know:
1) your system's hostname or IP address
2) the root document directory of your system's http server, which we certainly hope is apache2.

For the purposes of this document, we'll use http://your-server.com/ as the hostname, 
and /var/www/html/ as the web document root, as is common on many Unixes.
[Mac users: /Library/WebServer/Documents is the standard web document root on recent Mac OS versions.]

First, create a philologic subdirectory in your webroot, like /var/www/html/philologic/
Then create a system directory within it, like /var/www/html/philologic/_system_dir/
Then copy the entire contents of THIS PhiloLogic4-templates directory into /var/www/html/philologic/_system_dir/_install_dir/
Now your system should be set up for PhiloLogic.

To install databases, use the loader.py script, which is contained in the libphilo repo, in the /python/examples/ subdirectory.
You'll need to configure the script with the hostname and directory paths you configured above.
Then run 
$> python loader.py database_name <any number of TEI XML files, a file glob to many or a directory path>
Congrats!  You're done.

philologic4-templates's People

Contributors

clovis avatar rwhaling avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

clovis waltms

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.