mirror of
https://github.com/aljazceru/vibeline.git
synced 2026-01-10 01:54:34 +01:00
load .env file on watch (#1)
This commit is contained in:
@@ -9,4 +9,4 @@ pyyaml>=6.0.1
|
||||
# Development dependencies
|
||||
pytest>=7.4.0
|
||||
black>=23.7.0
|
||||
flake8>=6.1.0
|
||||
flake8>=6.1.0
|
||||
|
||||
9
watch.sh
9
watch.sh
@@ -1,7 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Load environment variables from .env file
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
else
|
||||
echo "Warning: .env file not found"
|
||||
fi
|
||||
|
||||
# Activate virtual environment
|
||||
source vibenv/bin/activate
|
||||
|
||||
# Run the watch script
|
||||
python src/watch_voice_memos.py
|
||||
python src/watch_voice_memos.py
|
||||
|
||||
Reference in New Issue
Block a user