- Updated .dockerignore and .gitignore for better file management. - Introduced .env.example for environment variable configuration. - Added docker-compose.dev.yml for development with mock data and live reload. - Enhanced Dockerfile to include necessary dependencies and entrypoint script. - Created mock_data.py to provide sample data for testing without OpenStack/Prometheus. - Added unit tests for template filters in dashboard. - Cleaned up various files for consistency and improved readability.
11 lines
228 B
Bash
Executable File
11 lines
228 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
echo "Applying database migrations..."
|
|
python3 manage.py migrate --noinput
|
|
|
|
echo "Collecting static files..."
|
|
python3 manage.py collectstatic --noinput
|
|
|
|
echo "Starting Django application..."
|
|
exec "$@" |