Add virtual environment activation
This commit is contained in:
parent
f6fa44b065
commit
62c36cd516
@ -6,6 +6,9 @@ set -e
|
|||||||
# Ensure we are in the app root directory (not the /script directory)
|
# Ensure we are in the app root directory (not the /script directory)
|
||||||
cd "$(dirname "$0")/.."
|
cd "$(dirname "$0")/.."
|
||||||
|
|
||||||
|
# Activate virtual environment
|
||||||
|
source .venv/bin/activate
|
||||||
|
|
||||||
# Install Python dependencies
|
# Install Python dependencies
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
||||||
|
@ -6,5 +6,8 @@ set -e
|
|||||||
# Ensure we are in the app root directory (not the /script directory)
|
# Ensure we are in the app root directory (not the /script directory)
|
||||||
cd "$(dirname "$0")/.."
|
cd "$(dirname "$0")/.."
|
||||||
|
|
||||||
|
# Activate virtual environment
|
||||||
|
source .venv/bin/activate
|
||||||
|
|
||||||
# Launch the app
|
# Launch the app
|
||||||
python3 app.py
|
python3 app.py
|
||||||
|
@ -6,5 +6,8 @@ set -e
|
|||||||
# Ensure we are in the app root directory (not the /script directory)
|
# Ensure we are in the app root directory (not the /script directory)
|
||||||
cd "$(dirname "$0")/.."
|
cd "$(dirname "$0")/.."
|
||||||
|
|
||||||
|
# Activate virtual environment
|
||||||
|
source .venv/bin/activate
|
||||||
|
|
||||||
# Run unit tests
|
# Run unit tests
|
||||||
python3 -m pytest
|
python3 -m pytest
|
||||||
|
@ -6,5 +6,8 @@ set -e
|
|||||||
# Ensure we are in the app root directory (not the /script directory)
|
# Ensure we are in the app root directory (not the /script directory)
|
||||||
cd "$(dirname "$0")/.."
|
cd "$(dirname "$0")/.."
|
||||||
|
|
||||||
|
# Activate virtual environment
|
||||||
|
source .venv/bin/activate
|
||||||
|
|
||||||
# Update dependencies
|
# Update dependencies
|
||||||
script/bootstrap
|
script/bootstrap
|
||||||
|
Loading…
x
Reference in New Issue
Block a user