Code import - branch release/SIENTIAPDE-1645
This commit is contained in:
15
run_local.sh
Executable file
15
run_local.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Exit on any error
|
||||
set -e
|
||||
|
||||
if [ -f .env ]; then
|
||||
set -a
|
||||
source <(cat .env | grep -v '^#' | grep -v '^$')
|
||||
set +a
|
||||
echo "Environment variables loaded from .env"
|
||||
else
|
||||
echo "Warning: .env file not found. Continuing without environment variables."
|
||||
fi
|
||||
|
||||
python -m model_manager.worker.worker
|
||||
Reference in New Issue
Block a user