Remove deprecated files and configurations, including .env, Dockerfile, docker-compose.yml, and client-schedule.py. Update README.md to reflect new architecture and features, enhancing clarity on system capabilities and workflows. Adjust values.yaml for image tag and replica count, and improve code documentation across various modules for better maintainability.
19 lines
440 B
Bash
Executable File
19 lines
440 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Exit on any error
|
|
set -e
|
|
|
|
echo "Activating virtual environment..."
|
|
source ./venv/bin/activate
|
|
|
|
echo "Loading environment variables from .env..."
|
|
if [ -f .env ]; then
|
|
export $(cat .env | grep -v '^#' | xargs)
|
|
echo "Environment variables loaded from .env"
|
|
else
|
|
echo "Warning: .env file not found. Continuing without environment variables."
|
|
fi
|
|
|
|
echo "Starting scouter application..."
|
|
python -m scouter.worker.worker
|