-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from bento-platform/fix-dev-image
Fix development image & update base images
- Loading branch information
Showing
6 changed files
with
19 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" | |
|
||
[tool.poetry] | ||
name = "bento_service_registry" | ||
version = "0.11.1" | ||
version = "0.11.2" | ||
description = "An implementation of GA4GH Service Registry API for the Bento platform." | ||
authors = ["David Lougheed <[email protected]>"] | ||
readme = "README.md" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
#!/bin/bash | ||
|
||
# Set .gitconfig for development | ||
/set_gitconfig.bash | ||
# Update dependencies and install module locally | ||
/poetry_user_install_dev.bash | ||
|
||
export QUART_ENV=development | ||
export QUART_APP=bento_service_registry.app:application | ||
export QUART_ENV='development' | ||
export QUART_APP='bento_service_registry.app:application' | ||
|
||
if [[ -z "${INTERNAL_PORT}" ]]; then | ||
# Set default internal port to 5000 | ||
export INTERNAL_PORT=5000 | ||
fi | ||
# Set default internal port to 5000 | ||
: "${INTERNAL_PORT:=5000}" | ||
|
||
python -m poetry install | ||
python -m debugpy --listen 0.0.0.0:5678 -m quart run --host 0.0.0.0 --port "${INTERNAL_PORT}" | ||
# Set default debugger port to debugpy default | ||
: "${DEBUGGER_PORT:=5678}" | ||
|
||
python -m debugpy --listen "0.0.0.0:${DEBUGGER_PORT}" -m quart run \ | ||
--host 0.0.0.0 \ | ||
--port "${INTERNAL_PORT}" |