mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 02:04:04 +08:00
Do this by calling common_startup.sh prior to manage_db.sh in run_test_wrapper.sh. Will require a rebuild of the testing-base image. Also, have scripts in Galaxy root activate .venv if it exists.
16 lines
345 B
Bash
Executable File
16 lines
345 B
Bash
Executable File
#!/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>
|
|
#######
|
|
|
|
if [ -d .venv ];
|
|
then
|
|
printf "Activating virtualenv at %s/.venv\n" $(pwd)
|
|
. .venv/bin/activate
|
|
fi
|
|
|
|
cd `dirname $0`
|
|
python ./scripts/manage_db.py $@
|