Test data script

This commit is contained in:
James Pattinson
2025-10-25 14:09:43 +00:00
parent 6e760a3e96
commit 023c238cee
3 changed files with 391 additions and 0 deletions

16
populate_test_data.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/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!"