mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Also add exec permissions to create/migrate python scripts. (not sure this is required, adding for consistency with previous version) + A few fixes for TS scripts, tests Squashed: - pick b62443245e Add create/migrate scripts for Alembic dbs - squash 06f0a923ca Fix integration test (test only relevant for TS)
26 lines
793 B
Bash
Executable File
26 lines
793 B
Bash
Executable File
#!/bin/sh
|
|
|
|
#######
|
|
# Use this script to verify the state of the Galaxy and Tool Shed Install
|
|
# database(s). If the database does not exist or is empty, it will be created
|
|
# and initialized.
|
|
# (Use create_toolshed_db.sh to create and initialize a new
|
|
# Tool Shed database.)
|
|
#
|
|
# To pass a galaxy config file, use `--galaxy-config`
|
|
#
|
|
# You may also override the galaxy database url and/or the
|
|
# tool shed install database url, as well as the database_template
|
|
# and database_encoding configuration options with env vars:
|
|
# GALAXY_CONFIG_OVERRIDE_DATABASE_CONNECTION=my-db-url ./create_db.sh
|
|
# GALAXY_INSTALL_CONFIG_OVERRIDE_DATABASE_CONNECTION=my-other-db-url ./create_db.sh
|
|
#######
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
. ./scripts/common_startup_functions.sh
|
|
|
|
setup_python
|
|
|
|
python ./scripts/create_db.py "$@"
|