#!/bin/bash # Wrapper to run the pathways database. #---------------------------------------------------- # Top directory for your lab database # We can build other environment variables # based on $ACEDB # for use by instructor ACEDB=$BIRCH/local/public_html/birchdb export ACEDB #----------------------------------------------------- # Directory for executable code specific for your database # The bin directory contains scripts for viewing orlaunching # different types of files, based on their file extension. BINDIR=$ACEDB/bin PATH=($BINDIR $PATH) export PATH # Directory to contain the binary database file DBDIR=$ACEDB/database export DBDIR # Directory for executable code specific for your database # eg. this script BINDIR=$ACEDB/bin export BINDIR # Run xace, and call cleanup.csh to make sure all files # have correct group membership and permissions. #path="$BINDIR $BIRCH/acedb/bin $PATH" path="$BINDIR:$PATH" ACE_FILE_LAUNCHER=$BINDIR/chooseviewer.py export ACE_FILE_LAUNCHER #----------------------------------------------------- # Run the xace client using your database ($BIRCH/bin-linux-x86_64/xace; $BINDIR/cleanup.sh)&