Skip to content

Commit

Permalink
fix: new run.dev.bash for poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Oct 9, 2024
1 parent 390d0d0 commit 426f106
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions run.dev.bash
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@

cd /beacon || exit

export FLASK_APP='bento_beacon.app:app'

# Update dependencies if necessary
pip install --no-cache-dir --user -r requirements.txt
# Update dependencies and install module locally
/poetry_user_install_dev.bash

# For below command structure, see https://stackoverflow.com/questions/4437573/bash-assign-default-value
export FLASK_ENV='development'
export FLASK_APP='bento_beacon.app:app'

# Set default internal port to 5000
: "${INTERNAL_PORT:=5000}"
Expand Down

0 comments on commit 426f106

Please sign in to comment.