Project

General

Profile

Setup And Install » History » Version 1

Version 1/23 - Next » - Current version
Luke Murphey, 11/16/2012 08:30 AM


Setup And Install

Install Prerequisites

Install TextCritical Application

Configure Initialize Database

python manage.py syncdb

Import Works

You will need to import the works into the library in order to have something for the site to provide access to. The easy way to do this is to use a prebuilt library. The more difficult way is to import the works yourself.

Using Existing Library

To use an existing library, copy the library.sqlite file to the server. By default, it should be placed in the src directory.

Importing Works

If you want to import works manually, then following the steps below.

First, initialize the library database.

python manage.py syncdb --database=library

Next, download the relevant works. The Perseus works can be obtained from Perseus.tufts.edu. Decompress the archive.

Start the import process by running the following command substituting "/Users/Luke/Perseus_Directory" with the location where you placed the files:

python manage.py batch_import_perseus -d "/Users/Luke/Perseus_Directory" 

Start Web Server