Files
galaxy/run.sh
T
James Taylor 2c4c20436e Cleaning up modules. Still a few stragglers that can't be easily eggified.
EVERYTHING we depend on should eventually be under the galaxy module or
packaged in eggs to avoid namespace problems.
2006-11-15 18:27:21 +00:00

21 lines
732 B
Bash

#!/bin/sh
## Set MACHTYPE to something,
MACHTYPE=`uname -m`
if [[ $MACHTYPE = "Power Macintosh" ]]; then MACHTYPE="powerpc"; fi
export MACHTYPE
export LC_ALL=POSIX
KERNEL=`uname -s | tr "A-Z" "a-z"`
ARCH="$KERNEL-$MACHTYPE"
echo "Architecture appears to be $ARCH"
export UNIVERSE_HOME=`pwd`
export PATH=$PATH:$UNIVERSE_HOME/arch/$ARCH/bin:/depot/apps/$MACHTYPE/bin:/home/universe/$ARCH/EMBOSS/EMBOSS-3.0.0/bin:/home/universe/$ARCH/EMBOSS/bin:/home/universe/$ARCH/ImageMagick/bin:/home/universe/$ARCH/PAML/paml3.15/bin
export PYTHONPATH=$UNIVERSE_HOME/lib:$UNIVERSE_HOME/modules:$UNIVERSE_HOME/eggs:$UNIVERSE_HOME/arch/$ARCH/lib/python
echo "python path: $PYTHONPATH"
python2.4 ./scripts/paster.py serve universe_wsgi.ini $@