This commit introduces the initial project structure, including: - .env.example: Example environment configuration. - .github/workflows/quality-gate.yml: CI workflow for quality checks. - .gitignore: Specifies intentionally untracked files that Git should ignore. - Makefile: Automation of tasks like docker builds. - README.md: Project documentation. - Source code for model management, activities, utils, worker and workflows. - Test suite. - Dockerfile for the simulator. - sonar-project.properties: SonarQube configuration file. - values.yaml: Helm chart values for deployment.
19 lines
443 B
Bash
Executable File
19 lines
443 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 ingestor application..."
|
|
python -m laborious.worker.worker
|