https://github.com/galaxyproject/galaxy
Raw File
Tip revision: fada8d2a60e625cf16fce7e20715422f86d6f40c authored by Nicola Soranzo on 05 July 2017, 14:05:28 UTC
Merge branch 'release_16.07' into release_16.10
Tip revision: fada8d2
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