What's new? | Help | Directory | Sign in
Google
                
Search
for
Updated Dec 26, 2006 by jason.lerch
Labels: Phase-Deploy
Installation  
Installation instructions

Introduction

Opcit is a python application using QT as its GUI library and either postgres or sqlite as the backend database. It does not have any fancy install script yet, so the installation process is largely manual.

Prerequisites

Step 1: get the source code

The source code only lives in the google-code subversion repository. Go to http://code.google.com/p/opcit and look at the svn tab for instructions for checking it out.

Step 2: set up the database

Once all the prerequisites are installed, the database has to be set up. The database schema is contained in a file called base.sql. To set up a database using sqlite, do the following:

$ sqlite3 file-to-contain-database
sqlite> .read base.sql

Step 3: test the setup

Run the test-suite:

$ python unittest_bibitem.py

Lots of output should be spewed across the screen. If all goes well the final message should be "OK".


Sign in to add a comment