SIENTIAPDE-1350: Refactor: Improve logging, configuration, and resource management. Includes .env updates, client initialization logging, and resource closing.
This commit is contained in:
@@ -3,12 +3,6 @@
|
||||
# Exit on any error
|
||||
set -e
|
||||
|
||||
#echo "Activating virtual environment..."
|
||||
|
||||
#conda activate ./venv
|
||||
|
||||
echo "Loading environment variables from .env..."
|
||||
|
||||
if [ -f .env ]; then
|
||||
export $(cat .env | grep -v '^#' | xargs)
|
||||
echo "Environment variables loaded from .env"
|
||||
@@ -16,6 +10,4 @@ else
|
||||
echo "Warning: .env file not found. Continuing without environment variables."
|
||||
fi
|
||||
|
||||
echo "Starting ingestor application..."
|
||||
|
||||
python -m model_manager.worker.worker
|
||||
|
||||
Reference in New Issue
Block a user