https://github.com/galaxyproject/galaxy
Raw File
Tip revision: e0aad7af47547c04013dffe3874e757c905b2021 authored by John Chilton on 25 August 2016, 17:41:10 UTC
Update version to 16.07
Tip revision: e0aad7a
manage_db.sh
#!/bin/sh

#######
# NOTE: To downgrade to a specific version, use something like:
# sh manage_db.sh downgrade --version=3 <tool_shed if using that webapp - galaxy is the default>
#######

: ${GALAXY_VIRTUAL_ENV:=.venv}

if [ -d "$GALAXY_VIRTUAL_ENV" ];
then
    printf "Activating virtualenv at $GALAXY_VIRTUAL_ENV\n"
    . "$GALAXY_VIRTUAL_ENV/bin/activate"
fi

cd `dirname $0`
python ./scripts/manage_db.py $@
back to top