Files
ppr-ng/populate_test_data.sh
James Pattinson 023c238cee Test data script
2025-10-25 14:09:43 +00:00

16 lines
444 B
Bash
Executable File

#!/bin/bash
# Script to populate test data in the PPR database
# Run this from the nextgen directory
echo "Populating test data..."
# Check if we're in the right directory
if [ ! -f "docker-compose.yml" ]; then
echo "Error: Please run this script from the nextgen directory"
exit 1
fi
# Run the population script in the backend container
docker-compose exec backend python populate_test_data.py
echo "Test data population complete!"