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)
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
# Activate virtual environment
|
||||
source .venv/bin/activate
|
||||
|
||||
# Install Python dependencies
|
||||
pip install -r requirements.txt
|
||||
|
||||
|
@ -6,5 +6,8 @@ set -e
|
||||
# Ensure we are in the app root directory (not the /script directory)
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
# Activate virtual environment
|
||||
source .venv/bin/activate
|
||||
|
||||
# Launch the app
|
||||
python3 app.py
|
||||
|
@ -6,5 +6,8 @@ set -e
|
||||
# Ensure we are in the app root directory (not the /script directory)
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
# Activate virtual environment
|
||||
source .venv/bin/activate
|
||||
|
||||
# Run unit tests
|
||||
python3 -m pytest
|
||||
|
@ -6,5 +6,8 @@ set -e
|
||||
# Ensure we are in the app root directory (not the /script directory)
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
# Activate virtual environment
|
||||
source .venv/bin/activate
|
||||
|
||||
# Update dependencies
|
||||
script/bootstrap
|
||||
|
Loading…
x
Reference in New Issue
Block a user